iceman77 19 Posted October 29, 2007 I have a COOP mission where an objective is to clear out an area.Once the area has been cleared of enemy, a friendly empty vehicle appears(VIA TRIGGER) so the team can use it.It works fine when im playing by myself.If im playing the map with people it seems that instead of spawning just ONE M113 like it's supposed to ,it spawns one for each player in the game.I JUST WANT ONE M113 TO APPEAR when the area has been cleared of enemy....no matter what...WOULD DELETING THE TRIGGER AFTER IT'S BEEN ACTIVATED HELP??MABEY NOT... Trigger Activation: OPFOR[NOT PRESENT] Condition:this On Act:m113 = "m113" createvehicle getpos helipad;getdir 45; Share this post Link to post Share on other sites
dr_eyeball 16 Posted October 29, 2007 The OnActivate code is executed on each client & server. You just need to check if it's the server instead and execute it there only. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">if (isServer) then {m113 = "m113" createvehicle getpos helipad;getdir 45;}; Share this post Link to post Share on other sites
iceman77 19 Posted October 29, 2007 ty...i will try this....:) Share this post Link to post Share on other sites
falseprophet 0 Posted October 30, 2007 if you need to delete the trigger you just can delete it name the trigger e.g. trigger1... write into the activation line: deletetrigger trigger1; but isserver should work Share this post Link to post Share on other sites
ricki 0 Posted October 31, 2007 Quote[/b] ]deletetrigger where did you find this one ? Share this post Link to post Share on other sites
Junker 0 Posted October 31, 2007 i think he means deleteVehicle triggername Share this post Link to post Share on other sites