Products
Construct 3
Create stunning games in the worlds best 2D game engine
Construct Animate
Produce gorgeous animations with drag-and-drop
Features
What you get
FAQ
Common questions
Releases
See latest updates
Pricing
Buy Animate now
Free Trial
Try Animate now
Features
What you get
Showcase
Customer creations
FAQ
Common questions
Addons
Extend Construct
Releases
See latest updates
Pricing
Buy Construct now
Free Trial
Try Construct now
Resources
Construct 3
Manual
System requirements
Scripting Overview
Addon SDK
Tutorials
Beginner's Guide
Publishing to the Web
Build Android APKs
Publishing to iOS
Optimisations
All tutorials
Game Dev Courses
Browse all game dev courses
Construct Animate
Manual
System requirements
Tutorials
Construct 2
Deprecated
Download
NWJS
Manual
Javascript SDK
Tutorials
Education
Construct 3
Why pick Construct 3
Free Resources
Privacy and Security
FAQ
Deeper Dive
Setup Classrooms in Minutes
World Class Docs
Educational Pricing
Equity
What we believe
Partners
Our global partners
Community
Forums
Forum Home
Newest Topics
Arcade
Top Games
Newest Games
Most Played Games
Most Online Players
Upload a Game
Blogs
Official Blog
New Posts
Social Media
Store
Products
Buy Construct 3
Buy Construct Animate
Assets
Addons
Animations
EBooks
Fonts
Games
Graphics
Sounds
Templates
Themes
Tilemaps
Tools
Discover
Newest Assets
Best Selling
Highest Rated
Exclusives
Special Offers
Asset Bundles
Sale Items
Register
Login
Products
Construct 3
Create stunning games in the worlds best 2D game engine
Construct 3
Features
Showcase
FAQ
Addons
Releases
Pricing
Free Trial
Construct Animate
Produce gorgeous animations with drag-and-drop
Construct Animate
Features
FAQ
Releases
Pricing
Free Trial
Resources
Construct 3
Make games, teach programming
Construct 3 Resources
Manual
System Requirements
Scripting Overview
Addon SDK
Tutorials
Beginners Guide to Construct 3
Publish Games to the Web
Make Android Games
Make iOS Games
Optimise Your Games
Courses
Construct Animate
Create stunning animations
Construct Animate Resources
Manual
System Requirements
Tutorials
Construct 2
Legacy product
Construct 2 Resources
Download
NWJS
Manual
Javascript SDK
Tutorials
Tutorials
Courses
Education
Construct 3
Make games, teach programming
Construct 3 in Education
Why Construct 3
Resources
Privacy & Security
Classroom Setup
FAQ
Documentation
Pricing
Equity
Partners
Asset Store
Browse
Asset Bundles
Sale Items
Best Selling
Your Downloads
Forums
Discuss
New Topics
Unanswered Topics
Search
Arcade
Play
Popular
Most Players
New Games
Showcase
Random Game
Blogs
Official Blog
Community Blogs
New Posts
Contact Us
Register
Login to account
Addons
Products
Construct 3 Addons
Construct 2 Addons
JJ_Weapon
Construct 2
Addons
JJ_Weapon
Download Now
8.67 KB
Info
Github page
MIT License
Official addon website
Copyright Jeysson Guevara. All rights reserved.
Statistics
1,783 total downloads
741 downloads of latest version
1 downloads per day average
Owners
JeyDotC
Overview
Documentation
ACEs
Version History
ACEs
Properties
Clip size
Count of bullets in each clip (-1 = infinity).
Bullets in clip
Bullets in clip at start (-1 = infinity)
Bullets in stock
Count of bullets for current weapon (-1 = infinity).
Stock size
Volume of current weapon for bullets. Max bullets count. (-1 = infinity).
Shoot interval
Interval in milliseconds between shoots.
Reload time
Reload time in milliseconds.
Auto-reload
When clip is empty, weapon start reload automatically.
User control
Type of weapon firing:
None: weapon not controlling by player.
Single: for each shoot user must make click (down and up key).
Burst: down shoot-key for constantly shoot and up for enought.
Enabled
If disabled, weapon can not make shoots.
Shoot key
Name or code of key for shoot.
Reload key
Name or code of key for reload.
Weapon image-point
Set point for the weapon from which bullets will fly.
Actions
Make a shoot
Make a one shoot.
Add bullets to clip
Add bullets to a clip for object. You can use negative values (e.g.: -5)
Params
Count: The number of bullets to add to the clip.
Set bullets in the clip
Set bullets count in the clip of object. (-1 = infinity)
Params
Count: Set count of bullets in the clip.
Set weapon bullets count
Set bullets count for the current weapon. From 0 to -1 (=infinity)
Params
Count: Set count of bullets in the stock.
Set weapon size of stock
Set size of stock for the current weapon. (-1 = infinity)
Params
size: Set size of stock.
Set size of the clip
Set maximum of bullets count in a clip. (-1 = infinity)
Params
Count: Set maximum of bullets count in a clip.
Set interval
Set interval between shoots for current weapon (ms).
Params
Interval: Set interval between shots for current weapon (milliseconds).
Set reload time
Set interval between shoots for current weapon (ms).
Params
ReloadTime: Set interval for reload current weapon (milliseconds).
Set ready to shoot
Set the weapon to ready for a shoot.
Disable weapon during...
Set the disabled status for weapon during some time. (-1 = not limited in time)
Params
During: Disable weapon during in milliseconds. -1 means "not limited by time".
Enable weapon
Set the weapon enabled.
Set shoot key
Set the shoot key for weapon.
Params
Shoot key: Choose the key for shoot from weapon
Set reload key
Set the reload key for weapon.
Params
Reload key: Choose the key for weapon reload
Set bullet instance
Set the weapon bullet type.
Params
Bullet: Choose the bullet object for weapon
Reload
Start reload.
Cancel reload
Cancel the current reload.
Set bullet instance by name
Set the weapon bullet type by name.
Params
Instance type name: Name of the bullet instance type.
Conditions
Is ready
True when the object is make pause and ready to shoot now.
Bullets in clip
True when the object clip have some bullets.
Params
Comparison: Choose bullets count to compare.
Bullets count: The bullets in clip.
Reload start
True when weapon is reload start.
Reload finish
True when weapon is reload finish.
Shoot
True when the object is make shoot.
Disabled
True when weapon is disabled.
Enabled
True when weapon is enabled.
Reload canceled
True when weapon reload was canceled.
Last shoot time
True when has passed some time since last shoot.
Params
Comparison: Time in miliseconds to compare.
Last shoot time: Last shoot time in miliseconds.
Is reloading
True when the weapon is currently reloading.
Expressions
getClipBulletsCount
Get bullets count in the clip
getBulletsCount
Get bullets count for weapon
getClipSize
Get clip size
getInterval
Get shots interval
getReloadTime
Get reload time
getReady
Get ready status
getDisabled
Get disabled status
getLastShootBullet
Get last shot bullet UID
getIsReloading
Get is reloading
getLastShootTime
Get last shoot time