Jump to content
Sign in to follow this  
mechastalin

Making a marker move to a random spawning object.

Recommended Posts

Simple question but I've forgotten how and can't remember damnit.

I have a crashed chopper that randomly spawns with a spawn radius, how do I make a marker and trigger move to its position in the init.sqs?

Thanks.

Share this post


Link to post
Share on other sites

After creating the vehicle, try this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

vehiclePosition = position vehicleName;

markerName setMarkerPos vehiclePosition;

triggerName setPos vehiclePosition;

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  

×