View Full Version : 2 kismet questions
12-08-2007, 10:15 PM
Im trying to work in kismet and would like to setup a small reaction. I would like it say something when the player dies. So I need to find a way to compare a players health so when it is = to 0 It will trigger it.
I also have a turret that I don't want to make into a weapon I just want to keep it as a static mesh. Can I set it up so anything in its point of view was dealt dmg until it got out of site
12-09-2007, 05:35 AM
For the first thing, simply use the Death event, from the Pawn category. Its Instigator will be the pawn that dies and its Originator is the Pawn or Controller of the player who died. (from the class comment of SeqEvent_Death)
Turrets and other vehicle only do their damage via a weapon. If you don't want anyone or anything to (remote-)control the turret, I suggest not extending from Vehicle in general.
12-09-2007, 01:17 PM
death pawn wont work for my code. I what to add it to the end of my code. I have code the will do something till they are dead the. Then it will do something completely different. I know all of the code but this one part.
The turret was a bad example what I what is a static mesh like a eye that will kill you if the eye can see you
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.