Attach/Detach [Accessory] from Actor's weapon [Weapon]. Both must be in the Inventory.
In this example, we're pressing 'P' to detach the currently equipped SniperScope from the player's Rifle and then after a short delay, attaching the AssaultScope accessory.
Checks if target actor's current weapon has [Accessory] attached.
In this example, we're checking which Scope the player's current weapon has attached. In this case, it's the SniperScope stating 'true'.
Get/Set ammo in the magazine of the current player's weapon.
In this example, we're getting the current AmmoCount with the 'O' key and it outputs '9' (only checks the current magazine, not full inventory amount).
We also set the AmmoCount amount to '3' with the 'P' key which then gives us 3 shots left in the current magazine before a reload is required.
Give or Take ammo to/from a local player. Weapon and AmmoType must match [e.g. "SOCOM and "bullet"].
This node allows to connect the enenmy position vector to shoot here.
|Enemy||Vec3||Aims the weapon at the enemy's position|
Switched the weapon fire mode.
Triggers an explosion.
Tracks Explosions. All input conditions (ShooterId, Ammo, ImpactTargetId) must be fulfilled to output. If a condition is left empty/not connected, it is regarded as fulfilled.
Fires a weapon and sets a target entity or a target position.
Tracks Hits on Actors. All input conditions (ShooterId, TargetId, Weapon, Ammo) must be fulfilled to output. If a condition is left empty/not connected, it is regarded as fulfilled.
Plays an action on an item.
Listens on [WeaponId] (or players [WeaponClass], or as fallback current players weapon) and triggers OnShoot when shot.
Checks if target actor's current weapon is zoomed.