OnScientistInitialized
Usage
- No return behavior
Example Autogenerated
csharp
private void OnScientistInitialized( BradleyAPC instance, ScientistNPC scientist, Vector3 spawnPos )
{
Puts( "OnScientistInitialized works!" );
}
Location
- BradleyAPC::InitScientist(ScientistNPC scientist, UnityEngine.Vector3 spawnPos, BasePlayer triggerPlayer, bool roadSpawned, bool startChasing)
csharp
//---
{
scientist.Brain.SwitchToState(AIState.TakeCover, 4);
}
scientist.Brain.Think(0f);
}
Interface.CallHook("OnScientistInitialized", this, scientist, spawnPos);
}