Home   Help Search Login Register  

Author Topic: respawn for Vehicle in mp..  (Read 1569 times)

0 Members and 1 Guest are viewing this topic.

PimpD

  • Guest
respawn for Vehicle in mp..
« on: 17 Aug 2003, 20:19:34 »
is there any good Vehicle respawn for mp? :/

PimpD

  • Guest
Re:respawn for Vehicle in mp..
« Reply #1 on: 18 Aug 2003, 01:33:27 »
http://www.ofpec.com/editors/browse.php?category=1_4

Respawning Vehicles in MP


thats a script I found ,I really dont understand a thng :o

PimpD

  • Guest
Re:respawn for Vehicle in mp..
« Reply #2 on: 18 Aug 2003, 14:38:41 »
Ok I got it 2 work but... when I start the game it says


'1 setdammage 0|#|; plane1 setfuel 1; p1spawn=true': Error type number, expected Object.

gah Whats wrong :-X

I did everything it said.

PimpD

  • Guest
Re:respawn for Vehicle in mp..
« Reply #3 on: 18 Aug 2003, 15:16:23 »
i made triggers like he said i shud and i named the plane.

named the plane to plane1
I put

plane1loc=getpos plane1

in the initialisation field.

first one.

* Switch the trigger so it can be triggered repeatedly
Set it for a Countdown of 10 seconds All fields 10 seconds

* Condition: GetDammage plane1 > .5 or not (alive plane1)

* Activation: plane1 setdammage 0; plane1 setfuel 1; p1spawn=true; comy globalchat "Oh! it looks like Plane 1 has exploded!"

Second one.

Switch the trigger so it can be triggered repeatedly
Set it for a Countdown of 11 seconds All fields 11 seconds, also for the little bit of extra delay
* Condition: GetDammage plane1 > .5 or not (alive plane1)
* Activation: plane1 setdammage 0; plane1 setfuel 1; p1spawn=true

Third one.

Switch the trigger so it can be triggered repeatedly
Set it for a Countdown of 20 seconds All fields 20 seconds
* Condition: p1spawn
* Activation: plane1 setdammage 0; plane1 setfuel 1; plane1 setpos plane1loc; plane1 setdir 270; p1spawn=false; comy globalchat "Plane 1 has returned to its respawn location"

PimpD

  • Guest
Re:respawn for Vehicle in mp..
« Reply #4 on: 18 Aug 2003, 16:10:08 »
Ok got it almost 2 work now  :o

My current problem is that when it get destroyed, it respawn in same spot as it got destroyed :/ not where I got the third trigger  :-\

PimpD

  • Guest
Re:respawn for Vehicle in mp..
« Reply #5 on: 18 Aug 2003, 16:22:49 »
YaY it works !

But now.. it spawn up-side-down lol.
And it got full health and ammo, but it still looks like its destroyed.


*Edit* Know how take away teh annoying message you get when its respawns? :/

*Message*

'1 setdammage 0|#|; plane1 setfuel 1; p1spawn=true': Error type number, expected Object.
« Last Edit: 18 Aug 2003, 16:23:54 by PimpD »