Jump to content
Sign in to follow this  
1para{god-father}

How to Reference something create in script

Recommended Posts

Some advise please

Say i create a A10 using the following:-

_A10Spawn = [markerPos "some_marker", random 360, "A10", west] call BIS_fnc_spawnVehicle;

If i want to check in a trigger using the editor that the A10 is destroyed how can I reference it ? as i presume i cannot use "!Alive __A10Spawn"

What is the work around ?

thanks

Share this post


Link to post
Share on other sites

You've got to name it. Anything named in the editor or made in a script is global.

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  

×