Jump to content
Sign in to follow this  
koalasalad

Completing a task when vehicle is detached

Recommended Posts

I can't figure out what to put in the condition of a trigger to complete a task when a vehicle is detached from another vehicle. Here is a screenshot of my vehicle:

My Attached Vehicle (I didn't know if you needed to see it?)

When I detach the pickup from the V3S I want my task to be completed. What would I put in the condition field of the trigger?

Thanks

Share this post


Link to post
Share on other sites

If you detach the vehicle set a variable with condition you ever want and put it in your condition field. If your mission will be player in MP mode use publicVariabale to make sure all clients will get the variable.

:rolleyes:

Edited by Buliwyf

Share this post


Link to post
Share on other sites

no idea whether an attached object can be detached without manual script command.

Maybe you can use "distance" to test its offset.

Share this post


Link to post
Share on other sites

go with Buliwyf´s suggestion as this is fool proof in any situation.

Distance check would fail if the unit it is attached to is not moving away.

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  

×