![]() |
|
#2
|
|||
|
|||
|
triggers do work with scripts, if there is an action- ie a spawn associated you must also make it happen in script.
I use something like this Code:
if ("trigger01".Equals(shortName) && active) // triggers 115 spawn
{
AiAction action = GamePlay.gpGetAction("trigger01");
if (action != null)
{
action.Do();
}
//GamePlay.gpHUDLogCenter("115");
GamePlay.gpGetTrigger(shortName).Enable = false;
}
|
| Thread Tools | |
| Display Modes | |
|
|