OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: static on 05 Aug 2004, 03:53:52

Title: respawning
Post by: static on 05 Aug 2004, 03:53:52
say i want my enimies to respawn in the same place every time they die like an invicible army... what kind of script would i need, please help, and by the way, if anyone could tell me how to delete my old post about the zombies
Title: Re:respawning
Post by: CrashnBurn on 05 Aug 2004, 04:33:18
Go to the editor depot and type "CreateUnit Tutorial" in the search box.
Title: Re:respawning
Post by: macguba on 05 Aug 2004, 11:30:12
You can delete a post using the delete button in the top right of the post.  
Title: Re:respawning
Post by: static on 05 Aug 2004, 20:43:39
ive gotten a little further now, i have gotten the respawn to work, but i respawn as a bird, now i need to figure out how to respawn as the player i was before... and when i try to delete it macguba, it says you cannot delete the first post, you must do something or ask an administrator to do it for you
Title: Re:respawning
Post by: NoMaD on 06 Aug 2004, 10:02:53
Greets.
This is one way of respawning.
1: Place a Marker at the Spot you want as respawn, name it  respawn_west  or respawn_east  depending what side your on.
2: Add this.
respawn = "base"
respawndelay = 5
};
to  the Description.ext.
 That should respawn your squad at the Marker.
Hope i got that right.
Title: Re:respawning
Post by: static on 07 Aug 2004, 02:47:27
nah, I keep respawning as a damn bird...  i remember seeing something about how you can pick which way to respawn, ex. as remaining soldier in group, at base, bird. ect.  I got it to spawn me as bird instead of "YOU ARE DEAD"  but how do i get to respawn like in a ctf?

 ;D
Title: Re:respawning
Post by: macguba on 07 Aug 2004, 10:46:24
As NoMaD said, respawn options are set in description.ext.   Tutes in the Ed Depot.
Title: Re:respawning
Post by: CopyrightPhilly on 08 Aug 2004, 00:07:45
Sounds to me like your trying to get it to respawn in single player..

Respawn will not work in any single player mission!

you will need to start the map in mutiplayer to test respawn

cheers, Philly
Title: Re:respawning
Post by: static on 08 Aug 2004, 00:28:44
not trying to be critical but u guys must take me for a dumbass... i have exported it to mulitplayer missions and tested it, i become a bird, how do i just spawn as another soldier?  is that too much to ask, do only genisus know the answer to a question like this... i appreciate you guys help but its not what im looking for
Title: Re:respawning
Post by: Planck on 08 Aug 2004, 00:33:02
You have already been told how to do it.....I suggest you re-read the thread again.


Planck
Title: Re:respawning
Post by: static on 08 Aug 2004, 01:27:05
ok, maybe someone has told me the correct way to do it, maybe im just retarded, but its not working... i'll try to figure it out, thanks anyways guys
Title: Re:respawning
Post by: repta on 08 Aug 2004, 04:37:51
i had the same problem. I was just screwing around with it and it started working. make sure the dectiption.ext is in the mission folder. make sure u have hide file extentions off so it's not saved as .ext.txt. just keep trying u'll figure it out