spawned actors with hit points
jonmulcahy
Member, Sous Chef Posts: 10,408
I'm not in front of my home PC right now, but I'm trying to work out a problem I had eariler. I think I understand the solution, but I wanted to run it by you all.
I have an actor spawner that spits out a bad guy every few seconds. Currently one hit kills the guys, but I'd like to have some of them take 2 or 3 hits.
Could I create a global attribute called hitPoints, and then have each actor user self.hitPoints? Something like that?
I have an actor spawner that spits out a bad guy every few seconds. Currently one hit kills the guys, but I'd like to have some of them take 2 or 3 hits.
Could I create a global attribute called hitPoints, and then have each actor user self.hitPoints? Something like that?
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io