OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Commando on 04 Jun 2003, 01:54:22

Title: How do I make ammo crates respawn?
Post by: Commando on 04 Jun 2003, 01:54:22
does any one got a script that makes destroyed ammo crates respawn and also respawns vehicles both air, sea and land. I had a script from doolittle but I have lost it But I don't know if it had ammo crate respawn.. :P
Title: Re:How do I make ammo crates respawn?
Post by: beowulf2014 on 04 Jun 2003, 04:38:42
this will also respawn ammo crates ;D

http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=8140
Title: Re:How do I make ammo crates respawn?
Post by: Commando on 04 Jun 2003, 11:24:42
are you sure about that? It doesn't say anything about ammo crates?
And the thread made me confused, wich script should I try?
not a good scripter..  :P I'll get Doolittles script when i get home then and then try yours.
Title: Re:How do I make ammo crates respawn?
Post by: beowulf2014 on 05 Jun 2003, 07:20:29
yes it works for ammo crate and medtents i just put this line in their init field like the vehicles

vehicles = vehicles +[this]
Title: Re:How do I make ammo crates respawn?
Post by: Commando on 06 Jun 2003, 00:16:36
Sweet! :D You are my saviour!