OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Calamity on 18 Aug 2003, 03:10:31
-
Ok guys,
I know this one should be simple but I can't find it in a search. How do I make is so that when a player is killed he drifts over and takes contoll of another unit in his group?
I have seen it done in a cooperative mission but I can't duplicate it. I have 4 playable units in a group. the player is the first unit. When he gets killed he should drift over to the next guy.
It looks like it should be very simple. but it didn't work like I though it would.
Very frustrating.
-
First, read the sticky post at the top of this forum - the process of "drifting to a new guy" is one aspect of "respawning".
The solution:
respawn=group
in a text file named "description.ext" (Note: not "description.ext.txt") in your mission folder. "Your mission folder" in this context is the place where the mission.sqm is.
Also, the two following variants are also syntactically correct:
respawn="group"
respawn=4
-
Oh Crap!
I knew it would wind up being in the Description.ext. I will try this tonight!
Thanks Killswitch!
-
That was the fix.
Thanks Guys!