Weapon🔗
Hérite: Node3D
Hérité par: AutomaticWeapon, GrenadeLauncher, SpaceGun
This class defines a Weapon.
Propriétés🔗
|
||
Méthodes🔗
void |
|
void |
_ready() |
void |
trigger() |
void |
_on_primary(pressed: bool) |
Signaux🔗
triggered() 🔗
Emitted after trigger is called.
Descriptions de propriété🔗
void set_ammo(new_ammo: int)
Le nombre de munitions.
Le nombre maximum de munitions.
The number of ammo used when triggered is emitted.
Le délai de recharge avant que ce noeud Weapon puisse être déclenché à nouveau.
There is currently no description for this property. Please help us by contributing one!
Skeleton3D player_skeleton 🔗
There is currently no description for this property. Please help us by contributing one!
Skeleton3D weapon_skeleton 🔗
There is currently no description for this property. Please help us by contributing one!
Le minuteur interne pour gérer le temps de recharge du déclencheur.
Descriptions de méthode🔗
void set_ammo(new_ammo: int) 🔗
There is currently no description for this method. Please help us by contributing one!
void _ready() 🔗
There is currently no description for this method. Please help us by contributing one!
void trigger() 🔗
Cette méthode déclenche le noeud Weapon.
void _on_primary(pressed: bool) 🔗
There is currently no description for this method. Please help us by contributing one!