Respawn point for a pawn

Topics regarding Scripting with Reality Factory
Post Reply
Dingalling
Posts: 5
Joined: Sat Nov 20, 2010 2:05 am

Respawn point for a pawn

Post by Dingalling » Sat Nov 20, 2010 2:19 am

how do i make it so after i kill an enemy it spawns again, cuz i wanna make a survival level -Thanks

User avatar
jamieo01
Posts: 81
Joined: Fri Jan 16, 2009 2:14 pm
Location: England
Contact:

Re: Respawn point for a pawn

Post by jamieo01 » Sat Nov 20, 2010 2:06 pm

Hi I don't think that you can set pawns to respawn. I might be wrong

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: Respawn point for a pawn

Post by QuestOfDreams » Sat Nov 20, 2010 2:23 pm

The respawning of a Pawn must be defined through its script.
Basically, instead of removing the Pawn from the level (which is usually done when it dies), you need to reset its health attribute, move it to the place where it should respawn and make it visible again in case it was faded out.
See for example:
viewtopic.php?f=8&t=3307&start=0&hilit=respawn

Dingalling
Posts: 5
Joined: Sat Nov 20, 2010 2:05 am

Re: Respawn point for a pawn

Post by Dingalling » Thu Nov 25, 2010 3:40 pm

i used the info. in the forum but when i made the pawn respawn my bullets passed straight through the pawn could any one tell me why?

Post Reply