WeaponMechanics
All WikisDownloadDonate
  • Home
  • Weapon Modules
    • Info
    • Shoot
      • Spread
      • Recoil
    • Scope
    • Reload
      • Ammo
    • Skin
    • Projectile
      • Sticky
      • Bouncy
      • Through
    • Explosion
      • Block Damage
    • Damage
      • Damage Modifiers
    • Firearm_Action
    • Melee
  • Trigger
  • Addons
  • Common Questions
  • Developer API
    • Cloning Repository
    • Projectile Scripts
  • 📄Articles
    • Optimizing Explosions
Powered by GitBook
On this page
  1. Weapon Modules
  2. Projectile

Sticky

Create sticky bombs and let projectiles stick to walls/entities

Last updated 1 year ago

    Sticky:
      Blocks:
        Allow_Any: <true/false>
        Whitelist: <true/false>
        List:
          - <Material>
          - <etc.>
      Entities:
        Allow_Any: <true/false>
        Whitelist: <true/false>
        List:
          - <EntityType>
          - <etc.>

Blocks

  • Allow_Any

    • If this is true then the projectile can stick to all blocks.

    • This overrides Whitelist and List.

  • Whitelist

    • Whether the use List as whitelist or blacklist.

    • True = only blocks listed in List can be stuck to.

  • List

    • Material list of stickable/unstickable blocks depending on Whitelist.

    • Use the list for materials for your version.

Entities

  • Allow_Any

    • If this is true then all entities are stickable.

    • This overrides Whitelist and List.

  • Whitelist

    • Whether the use List as whitelist or blacklist.

    • True = only entities listed in List can be sticked to.

  • List

    • Entity list of stickable/unstickable entities depending on Whitelist.

Use the list for entities for your version.

#material
#entity