A list of all Actions, Conditions and Expressions supported in this addon.
Custom
-
Actions
{my} shoot now
Make a one shoot
{0} bullets add to clip for {my}
Add bullets to a clip for object. You can use negative values (e.g.: - 5) to remove bullets from clip
The clip of {my} have {0} bullets now
Set bullets count in the clip of object. From 0 to -1 (=infinity)
The {my} have {0} bullets in stock now
Set bullets count in the stock of object. From 0 to -1 (=infinity)
The {my} size of stock is {0} now
Set size of stock for the current weapon. From 0 to -1 (=infinity)
The {my} size of clip is {0} now
Set size of clip for the current weapon. From 0 to -1 (=infinity)
Set {my} shots interval to {0} milliseconds
Set interval between shoots for current weapon (ms)
Set {my} reload interval to {0} milliseconds
Set interval between shoots for current weapon (ms)
Set {my} ready for a shoot
Set the weapon to ready for a shoot
Disable {my} on {0} milliseconds
Set the disabled status for weapon during some time. (-1 = not limited in time)
Enable {my}
Set the weapon enabled
Shoot key for {my} is {0} now
Set the shoot key for weapon
Reload key for {my} is {0} now
Set the reload key for weapon
Bullet of {my} now is {0}
Set the weapon bullet type
Bullet of {my} now is {0}
Set the weapon bullet type by name
{my} reload now
Start reload
{my} cancel reload now
Cancel the current reload
-
Conditions
{my} is ready to shoot
True when the object is make pause and ready to shoot now.
{my} clip bullet count {0} {1}
True when the object clip have some bullets.
{my} start reloading
True when weapon is reload start.
{my} finish reloading
True when weapon reload finishes.
{my} shoot
True when weapon makes a shoot.
{my} is disabled
True when weapon is disabled
{my} is enabled
True when weapon is enabled
{my} canceled reload
True when weapon reload was canceled
{my} Last shoot time {0} {1}
True when has passed some time since last shoot
{my} is reloading
True when the weapon is currently reloading
-
Expressions
BulletsInClip
The count bullets in the clip now.
BulletsInStock
The count bullets in the stock now.
ClipSize
The clip size.
ShotsInterval
The shots interval in miliseconds.
ReloadTime
The reloat time in miliseconds.
IsReadyToShoot
Is the weapon ready to shoot? 1 = true, 0 = false
IsDisabled
Is the weapon disabled? 1 = true, 0 = false
LastShootBulletId
Gets the last shoot bullet UID, this only works on shoot
IsReloading
Is the weapon reloading? 1 = true, 0 = false
LastShootTime
Gets the last time the weapon was shot