Jump to content
Sign in to follow this  
tini

Need help with script

Recommended Posts

I already googled for it and searched in this forum but i can't find anything helpful..

In the ArmaII Editor, i placed a trigger/area and a vehicle (UAZ), so..

What i want:

When i drive the vehicle in this area, the trigger should start a script which writes something in the Init line of the vehicle. e.g. The Init for a vehicle respawn script.

I only have a very small knowledge in scripting so i'm asking you if you could help me please :)

Share this post


Link to post
Share on other sites

Just to make sure I understand what you want, you do not want the vehicle to be able to respawn until it drives inside the trigger area. Is that correct?

What respawn script are you using? Does it require that it writes something into the init line line of the vehicle or does it just need to know which vehicle it is?

There is a way to use a script to add code to a vehicle's init line after game start using setVehicleInit and processInitCommands, but there are locality issues involved if your mission is multiplayer.

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  

×