Pagina 1 di 1

BTC revive script - adding mobile spawns later in mission

Inviato: gio apr 24, 2014 2:06 pm
da Daedle
Hi Giallustio,

Awesome work on your revive script. Me and my friends are enjoying it alot in our missions.
I am still a scripting noob so please bear with me if the solution is obvious ;-).

I am trying to create a prison break mission and using mobile spawns to create new spawn options for the players as they get to different areas.
So far I have been trying to create a trigger that makes a vehicle named mobile_west_0 (1, 2 etc) when the player enter the area, but I think I have one of two problems.
Either I am using the wrong code to spawn a named vehicle ( vehicle do appear), or the script does not recognise a vehicle added after start on the map?

I am using the following code on the trigger for mobile_west_1.
Spawn1 = "C_Hatchback_01_F" createVehicle getmarkerPos "Respawn_1";  spawn1 setVehicleVarName "mobile_west_1";
Hope that you might be able to give me some pointers to what I am doing wrong :-).

Re: BTC revive script - adding mobile spawns later in mission

Inviato: gio apr 24, 2014 2:19 pm
da Giallustio
Move the vehicle and do not create it during the mission. If you want to add it you have to update the array.

Re: BTC revive script - adding mobile spawns later in mission

Inviato: gio apr 24, 2014 6:45 pm
da Daedle
Thank you for helping. Much appreciated! :-)