BOOM Poteau
This commit is contained in:
@@ -12,6 +12,7 @@ var gravity_vec = Vector3()
|
||||
onready var hurtbox = $Hurtbox/HeadCollision
|
||||
onready var hitbox = $HitBox/CollisionShape
|
||||
onready var animation_player = $AnimationPlayer
|
||||
onready var Explosion = $Explosion
|
||||
|
||||
func _ready():
|
||||
animation_player.play("floating")
|
||||
@@ -44,6 +45,7 @@ func get_slapped(slap_level, slap_kill, slap_vector):
|
||||
|
||||
func get_shot(hitboxOwner):
|
||||
hitboxOwner.die()
|
||||
Explosion.play()
|
||||
die()
|
||||
|
||||
func die():
|
||||
|
||||
Reference in New Issue
Block a user