См. определение в файле TrapSpawnBase.c строка 225
226 {
228 {
229 if ( set_position )
230 {
231 vector trapPos = player.GetPosition() + ( player.GetDirection() * 0.5 );
232 trapPos[1] =
g_Game.SurfaceRoadY( trapPos[0], trapPos[2] );
234 }
235
237 }
238 }
void SetDeployed(bool newState)
proto native void SetPosition(vector position)
Set the world position of the Effect.
Перекрестные ссылки g_Game, SetDeployed() и SetPosition().
Используется в OnPlacementComplete().