OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Proud on 11 Dec 2002, 13:41:05
-
I was wondering if anyone of you could help me. I know how to create respawn bases etc etc. However I read somewhere that someone made it so that as you took over places in a capture and hold mission you would respawn there. My mission takes place in Everon and you start in Sait Pierre and it ends in Montignac. I did not want instant respawning as I think it makes it too easy and unrealistic. Instead I made a respawn base for west in saint pierre. Trouble is when you have managed to fight alllll the way to montignac and die. You have to go back to saint pierre. I have placed vehicles etc but its still a long drive and it adds ALOT of downtime to the mission.
So I was wondering if its possible that after you clear a town on your way to Montignac the respawn base could be moved somehow to that town. Also would it be possible to take some of the vehicals at saint pierre to the new location (if they are alive) so that they dont have to procceed on foot.
CHEERS ;D
-
To move the respawn marker, which is what I assume you're using, just use the setMarkerPos command.
"respawn_west" setMarkerPos [x,y]
(or is it "west_respawn"?)
Replace west with whatever side you're really using, and [x,y] with the real coordinates.
You can move your vehicles with the setPos command. Just move them to the appropriate locations as well. E.g.:
tank1 setPos [x,y,z]
-
cheers for the help ;D