GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

spawned actors with hit points

jonmulcahyjonmulcahy Posts: 10,379Member, Sous Chef
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?

Comments

This discussion has been closed.