A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Is there a script that will recreate dead vehicles

Author Topic: Is there a script that will recreate dead vehicles (5 messages, Page 1 of 1)
Moderators: Dennis

Shadeslayer
Joined: Jan 28, 2009

I won't miss!!


Posted: Apr 24, 2009 10:54 AM    Msg. 1 of 5       
hi, i am trying to create destructable vehicles that will still respawn after there destroyed but they dont respawn after dieing. Has any one written a script that will check for specific dead objects and recreate them??
Edited by Shadeslayer on Apr 24, 2009 at 10:55 AM


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: Apr 24, 2009 10:58 AM    Msg. 2 of 5       
object_create_anew?


Shadeslayer
Joined: Jan 28, 2009

I won't miss!!


Posted: Apr 24, 2009 11:35 AM    Msg. 3 of 5       
cool i will try that!!!


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Apr 24, 2009 11:41 AM    Msg. 4 of 5       
To check for whether the vehicles dead before you create it, use this script. vehi is the name of the vehicle.


(script continuous vehicle
(sleep_until (= (unit_get_health vehi) 0) 15)
(object_create_anew vehi)
)


Doubt it syncs, but it works.


bobbysoon
Joined: Feb 1, 2007


Posted: Apr 24, 2009 01:08 PM    Msg. 5 of 5       
It doesn't synch

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 9:55 PM 156 ms.
A Halo Maps Website