Jump to content
Sign in to follow this  
hansson0728

convoys spawning and moving....

Recommended Posts

ive been trying ro get norrns convoy script v02 to work woth spawned vehicles, but i can't get it right.. when i use preplaced vehicles i can get it to work. i think the prblem has something to do with naming my units... to get it to work with preplaced units the vehicles must have a name in their name field.. how do i set it when spawning vehicles?? anyone.. i'am trying to make a side mission with a spawnd convoy... or anyone know of any other solution to this???

Share this post


Link to post
Share on other sites

There is setVehicleVarName, maybe that does the trick?

Share this post


Link to post
Share on other sites

tried that one, it does not work :( iam sorry iam not at home so i cant post my script. ;( i was hoping some script god just know whats wrong and can give me an example :)

Share this post


Link to post
Share on other sites

When you spawn a vehicle with createVehicle command, it returns a variable that represents created vehicle. Though I never used that particular convoy script I think you can use that variable instead vehicle name, it shouldn't make any difference.

Share this post


Link to post
Share on other sites

i changed it alltogether, i didnt need any script, just spawning 3 vehicles and giving them a waypoint on a road and formation line worked just fine. :) keeping it simple..

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  

×