Jump to content
Sign in to follow this  
jdmt

Attaching a Trigger to a vehicle

Recommended Posts

Which vehicle has the trigger attached to it - the civ?

It looks like it works? Or are you saying that if the Hummer is moving, the trigger doesn't work?

Sorry if I'm just being painfully dense. :D

Share this post


Link to post
Share on other sites

I want it attached to the car.

Currently it's sitting around the HMMWV. I want the HMMWV to move.

Share this post


Link to post
Share on other sites

Can't you just script? so if CAR1 NearestObject == Hummer then Exec IED script

(Thats pseudocode btw... dont try it :D)

Share this post


Link to post
Share on other sites

Mmmm all this is very confusing. TriggerattachVehicle doesn't physically attach any trigger to a vehicle, but it does the same thing than when you group (F2) a trigger to a unit in the mission editor, so that only this unit can trigger the trigger.

As we don't know what your trigger does (apart from creating an explosion), we can't help you. Post the condition and activation line of this trigger.

Edited by ProfTournesol
typo

Share this post


Link to post
Share on other sites

If your talking about attaching a trigger made with the in game editor it's quite simple

trigname attachTo [vehiclename,[0,0,0]]

Share this post


Link to post
Share on other sites
If your talking about attaching a trigger made with the in game editor it's quite simple

trigname attachTo [vehiclename,[0,0,0]]

That did it, thanks.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×