createTrigger – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 17: Line 17:


:Use [[deleteVehicle]] _Trig to remove it. --[[User:Kronzky|Kronzky]] 09:29, 19 May 2007 (CEST)
:Use [[deleteVehicle]] _Trig to remove it. --[[User:Kronzky|Kronzky]] 09:29, 19 May 2007 (CEST)
::From my experience there's no working way to remove triggersiin MP.--[[User:Raedor|raedor]] 15:17, 19 May 2007 (CEST)

Revision as of 15:17, 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?

Use deleteVehicle _Trig to remove it. --Kronzky 09:29, 19 May 2007 (CEST)
From my experience there's no working way to remove triggersiin MP.--raedor 15:17, 19 May 2007 (CEST)