OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Noggins on 18 Mar 2004, 03:41:32
-
Im sure its the most frequenly asked question here, but i looked at the sticky and the top and followed the instructions but they just dont seem to work. the FAQ also seems to be down because i cant open the "see more" part of it. i cant get anything to respawn, please help.
here is what i have tried
made a mission in the editor with soilder S1
create a trigger like this
Activate: repeatedly
Condition: not(alive s1)
on activation: [] exec "respawn.sqs"
then i go into the users/username/missions/mission1 and make a notepad file called "respawn.sqs" with text
respawn=2
respawndelay=20
and save it in ANSI and use ALL FILES.
then i "export to multiplayer", start a server, kill myself with a grenade, and nothing happens.
What am i doing wrong/forgetting? please help
-
Regarding your respawn code.
respawn=2
respawndelay=20
This needs to be in a file called description.ext, which is placed in your mission folder, not written in a script file.
You obviously missed that part in the sticky topic at the top.
Planck
-
This is what worked for me and im a newbie at this stuff.
Download the unpbo tool and take apart a map that you know works. you will find alot of usefull scripts in old maps.
-
oooh ok, thanks