Page 1 of 1

Raising dead (entities)

Posted: Fri Apr 15, 2005 7:12 pm
by Rookie One.pl
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

Posted: Sat Apr 16, 2005 12:15 am
by Elgan
entities with what classname?

spawn

Posted: Sat Apr 16, 2005 12:41 am
by tltrude
Respawn the entity.

Posted: Sat Apr 16, 2005 5:02 am
by lizardkid
store all stats at death and make a new entity there?

Posted: Sat Apr 16, 2005 9:08 am
by Rookie One.pl
@Elgan: DrivableVehicle.

@tltrude: only items and players can be respawned.

Yeah, I guess I'll just spawn another one.