Shooting doesn't always destroy actor even though it touches enemy
butterbean
Member Posts: 4,315
So I have a spell rule that my main character can cast, but it seems that the spell is inconsistent, and it doesn't always destroy the enemy actor when it appears to have hit that enemy
Here are the rules I've placed:
For the actor editor: Spell
Move: direction 0, relative to actor, move type: additive speed: 300
Timer: After 3 seconds (run to completion is checked)
Destroy this actor
Rule: When actor receives event: overlaps or collides with: enemy
Destroy this actor
Also, under my main actor, the player, here are the rules for using the spell:
Spell:
When actor receives event, keyboard : Return is down
Timer: For .5 seconds (run to completion is checked)
Spawn actor: SPELL
In front of actor, direction 0, position x: 88, position y: 18 both relative to actor
The spell casting works everytime, but at some points in the game, it doesn't always destroy the enemy.
The distance between myself and the enemy can sometimes be almost nose to nose, and it doesn't destroy it
Any ideas?? Anyone else had this problem?
Update:
I just erased what was on the scene, and reorganized everything (only took about 5 mins) and it seems to be consisent now, I'll keep testing it
Here are the rules I've placed:
For the actor editor: Spell
Move: direction 0, relative to actor, move type: additive speed: 300
Timer: After 3 seconds (run to completion is checked)
Destroy this actor
Rule: When actor receives event: overlaps or collides with: enemy
Destroy this actor
Also, under my main actor, the player, here are the rules for using the spell:
Spell:
When actor receives event, keyboard : Return is down
Timer: For .5 seconds (run to completion is checked)
Spawn actor: SPELL
In front of actor, direction 0, position x: 88, position y: 18 both relative to actor
The spell casting works everytime, but at some points in the game, it doesn't always destroy the enemy.
The distance between myself and the enemy can sometimes be almost nose to nose, and it doesn't destroy it
Any ideas?? Anyone else had this problem?
Update:
I just erased what was on the scene, and reorganized everything (only took about 5 mins) and it seems to be consisent now, I'll keep testing it