
FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jun 6, 2010 07:44 PM
Msg. 1 of 3
Can anyone tell me how I would disable trigger volumes, like,after I go past it,it disables itself so if I walked in again it wouldn't do the same thing?
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jun 6, 2010 07:49 PM
Msg. 2 of 3
(global boolean canPass true)
(script startup passedOnce (sleep_until (volume_test_objects blah (players)) 15) (set canPass false) )
(script continuous doStuff (if (and (volume_test_objects blah (players)) (= canPass true) ) (begin (do stuff) ) ) )
|