Get Damage via ACS?
-
false_chicken
- Posts: 36
- Joined: Sat Aug 09, 2014 10:47 pm
Get Damage via ACS?
Hello. I am currently making a shooting range type map and I was wondering if there was any way to get the damage done to an actor via ACS? (Like right after shooting them report the damage done). Thanks!
-
Watermelon
- Zandrone
- Posts: 1244
- Joined: Thu Jun 28, 2012 9:07 pm
- Location: Rwanda
RE: Get Damage via ACS?
I think you'd have to store the health when the player spawns in an array somewhere, and then run an ACS script every time the player enters the pain state and then compare that damage to the previous health (and then set the health from that same script).
-
false_chicken
- Posts: 36
- Joined: Sat Aug 09, 2014 10:47 pm
RE: Get Damage via ACS?
Thats what I was thinking. I was hoping there was a clean function I could use but I suppose that would have to do. Thanks!