createTrigger – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

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?

Use deleteVehicle _Trig to remove it. --Kronzky 09:29, 19 May 2007 (CEST)