Post your scripting questions / solutions here
Moderator: Moderators
Rookie One.pl
Site Admin
Posts: 2752 Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:
Post
by Rookie One.pl » Fri Apr 15, 2005 7:12 pm
Hi,
Does anybody know how to make an entity that has already died able to die again? Setting its health doesn't work (I get an error message saying 'cannot set health of a dead entity').
Cheers,
Rookie One
Elgan
Site Admin
Posts: 890 Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:
Post
by Elgan » Sat Apr 16, 2005 12:15 am
entities with what classname?
tltrude
Chuck Norris
Posts: 4774 Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:
Post
by tltrude » Sat Apr 16, 2005 12:41 am
Respawn the entity.
Tom Trude,
lizardkid
Windows Zealot
Posts: 3672 Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT
Post
by lizardkid » Sat Apr 16, 2005 5:02 am
store all stats at death and make a new entity there?
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
Rookie One.pl
Site Admin
Posts: 2752 Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:
Post
by Rookie One.pl » Sat Apr 16, 2005 9:08 am
@Elgan: DrivableVehicle.
@tltrude: only items and players can be respawned.
Yeah, I guess I'll just spawn another one.