createTrigger – Talk
Jump to navigation
Jump to search
mNo edit summary |
(How do you Remove a Trigger you created?) |
||
Line 1: | Line 1: | ||
So... can anyone enumerate the types? Of course, the ones added through addons might be too much to ask for. --[[User:MaHuJa|MaHuJa]] 19:22, 29 December 2006 (CET) | So... can anyone enumerate the types? Of course, the ones added through addons might be too much to ask for. --[[User:MaHuJa|MaHuJa]] 19:22, 29 December 2006 (CET) | ||
:EmptyDetector should be the only type in ArmA besides those added by addons. --[[User:TeRp|TeRp]] 22:29, 29 December 2006 (CET) | :EmptyDetector should be the only type in ArmA besides those added by addons. --[[User:TeRp|TeRp]] 22:29, 29 December 2006 (CET) | ||
== How do you Remove a Trigger you created? == | |||
// How do you delete a Trigger you dynamically created? | |||
_Trig = createTrigger ["EmptyDetector", [0, 0, 0] ]; | |||
// Now we should delete this trigger since we no longer need it as I have | |||
// heard the more Triggers you have the more it impacts the server. | |||
// Currently I cannot find a command to accomplish this. | |||
_Trig = nil; | |||
// Would this work? |
Revision as of 07:12, 19 May 2007
So... can anyone enumerate the types? Of course, the ones added through addons might be too much to ask for. --MaHuJa 19:22, 29 December 2006 (CET)
- EmptyDetector should be the only type in ArmA besides those added by addons. --TeRp 22:29, 29 December 2006 (CET)
How do you Remove a Trigger you created?
// How do you delete a Trigger you dynamically created?
_Trig = createTrigger ["EmptyDetector", [0, 0, 0] ];
// Now we should delete this trigger since we no longer need it as I have // heard the more Triggers you have the more it impacts the server. // Currently I cannot find a command to accomplish this.
_Trig = nil;
// Would this work?