knockback

Mobs and items with this element will knock movable targets they hit away from them. Guns and turrets will instead fire projectiles with similar effects.
Vars | |
throw_anchored | whether this can throw anchored targets (tables, etc) |
---|---|
throw_distance | distance the atom will be thrown |
throw_gentle | whether this is a gentle throw (default false means people thrown into walls are stunned / take damage) |
Procs | |
do_knockback | Throw a target in a direction |
hostile_attackingtarget | triggered after a hostile simplemob attacks something |
item_afterattack | triggered after an item attacks something |
projectile_hit | triggered after a projectile hits something |
Var Details
throw_anchored

whether this can throw anchored targets (tables, etc)
throw_distance

distance the atom will be thrown
throw_gentle

whether this is a gentle throw (default false means people thrown into walls are stunned / take damage)
Proc Details
do_knockback
Throw a target in a direction
Arguments:
- target - Target atom to throw
- thrower - Thing that caused this atom to be thrown
- throw_dir - Direction to throw the atom
hostile_attackingtarget
triggered after a hostile simplemob attacks something
item_afterattack
triggered after an item attacks something
projectile_hit
triggered after a projectile hits something