Enemy Health Points, And some other stuff
SomeRandomDude
Member Posts: 2
I need to know how to make a enemy actor have health point so he can take more than one hit.
Tried around but cant find a way to fix it.
Another thing, when my mouse is in the screen i want it to look like aim, how do you do that?
And the last thing, i have a gun but when i shoot stuff it dont spawn where i want it to spawn how do i do so it spawn on the tip of the gun.
Tried around but cant find a way to fix it.
Another thing, when my mouse is in the screen i want it to look like aim, how do you do that?
And the last thing, i have a gun but when i shoot stuff it dont spawn where i want it to spawn how do i do so it spawn on the tip of the gun.
Comments
Then create a rule that says when the enemy collides with your bullet or whatever, change attribute enemyhealth to enemyhealth-1.
Create another rule that says when enemyhealth = 0, destroy this actor.
As for the crosshairs, I don't know if you can change the mouse pointer, but you can have crosshairs follow the mouse around.. Search the wiki on how to make an actor follow something.
As for your last question, I think when you spawn an actor, there are options for the location offset.. I don't know much about it yet, but I think that's how it works.