Spawnables
This commit is contained in:
parent
6b5e768faf
commit
ea4f70f5ef
25 changed files with 4784 additions and 4436 deletions
|
|
@ -66,6 +66,7 @@ func set_after_spawn(start_position: Vector3,new_team: int):
|
|||
@rpc("any_peer","call_local","reliable")
|
||||
func take_damage(damage: int):
|
||||
hp -= damage
|
||||
$DamageAudio.multiplayer_play()
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
if not is_multiplayer_authority():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue