joey2176 Posted February 25, 2010 Share Posted February 25, 2010 I want to create a trigger box so when the player enters he will die. What line would I use to accomplish this. Begin OnTriggerEnterPlayer player.kill ? Any help is appreciated. Joe Link to comment Share on other sites More sharing options...
pkleiss Posted February 25, 2010 Share Posted February 25, 2010 I believe you need to specify who did the killing with the "Kill" function. You can use any actor ref. The kill wiki suffests using CG01DadRef, so... plyer.kill CG01DadRef should work. You could also do this: Short pHealth Set pHealth to player.getAV HealthPlayer.DamageAV Health pHealth Link to comment Share on other sites More sharing options...
joey2176 Posted February 25, 2010 Author Share Posted February 25, 2010 Thanks for the help pkleiss, I would give ya a kudos but I already did months ago ;) Link to comment Share on other sites More sharing options...
Cipscis Posted February 26, 2010 Share Posted February 26, 2010 Specifying a killer is optional when using KillActor, unless you want to also dismember a body part. Cipscis Link to comment Share on other sites More sharing options...
Recommended Posts