_Soletti_ 0 Posted December 14, 2023 For a small multiplayer mission I want the players to destroy 4 pumps via hold action. When its done there should be smoke emerging from the trigger which i moved into the pump. smoke = "test_EmptyObjectForSmoke" createVehicle (getPos this); I tried this command in the "on activation" box but it doesn't work. I'm not big on scripting so if someone knows a way to overcome this issue i'd be thankful for answers. Share this post Link to post Share on other sites
Harzach 2518 Posted December 14, 2023 To reference a trigger object in its own OnActivation field, use "thisTrigger," not "this." Share this post Link to post Share on other sites
_Soletti_ 0 Posted December 14, 2023 On 12/14/2023 at 7:12 PM, Harzach said: To reference a trigger object in its own OnActivation field, use "thisTrigger," not "this." Still doesn't work. Share this post Link to post Share on other sites
Harzach 2518 Posted December 14, 2023 On 12/14/2023 at 7:17 PM, _Soletti_ said: Still doesn't work. smoke = "test_EmptyObjectForSmoke" createVehicle getPos thisTrigger; Works fine here. 1 Share this post Link to post Share on other sites
pierremgi 4942 Posted December 15, 2023 For rig oil at sea, check your trigger's position (on deck or else), then use the alternate syntax: createVehicle ["test_EmptyObjectForSmoke",getPosATL thisTrigger, [],0,"none"]; 1 Share this post Link to post Share on other sites
hectrol 4 Posted December 17, 2023 other SmokObj = "SmokeShellred" createvehicle ((thisTrigger) ModelToWorld [0,0,0]); Share this post Link to post Share on other sites