Upload from upload_mods.ps1
This commit is contained in:
12
Scripts/MinEvents/NPCs/MinEventActionGuardThereRebirth.cs
Normal file
12
Scripts/MinEvents/NPCs/MinEventActionGuardThereRebirth.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
public class MinEventActionGuardThereRebirth : MinEventActionTargetedBase
|
||||
{
|
||||
public override void Execute(MinEventParams _params)
|
||||
{
|
||||
EntityNPCRebirth entityAlive = _params.Self as EntityNPCRebirth;
|
||||
if (entityAlive == null) return;
|
||||
|
||||
entityAlive.guardPosition = _params.Self.position;
|
||||
entityAlive.bWillRespawn = true;
|
||||
entityAlive.guardLookPosition = _params.Self.position + _params.Self.GetLookVector();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user