Spawn Actor more than once with Attribute etc..
Im working on a game right now and I got stuck.
At the moment I collect score, When score (attrebute) reaches a certen amount it sets "SpawnEnemy" attrebute to TRUE.
But when I destroy this actor of Enemy its dead.. I want it to spawn when point / score hit 10,100,1000 etc so I come to live again when SCORE is higher.
At the moment all functions work but I cannot get the Enemy to respawn when score is X higher then before spawned Enemy.
Also I need help to set EnemyHealth when new enemyActor spawns so its like a new enemy with full health.~~~~
Right now its like this.
EnemySpawnAgain - BOLEAN
EnemyHealth - INTEGER
EnemyDeath - BOLEAN
Score - integer
If Score >= 10 then set EnemySpawnAgain to TRUE.
IF EnemySpawnAgain is TURE then SpawnActor .
Also I would Like to know a good way to make "EnemyHealth" reset / always be 100% when Enemy spawn as new.
And a way that when Actor hits Enemy it takes of like 10% and when it hit 0% the enemy destroys.