login
sign up
.
Search
Chaos Project
Home
Script Database
Search
Calendar
Sign Up
Chaos Project
►
RPG Maker
►
RPG Maker Scripts
►
Get a weapons element?
Get a weapons element?
Started by Zexion, March 18, 2014, 08:34:04 am
Previous topic
-
Next topic
Print
Go Down
Pages
1
User actions
Zexion
Addicted to LoL
Chaos User
Posts: 1,511
My anaconda don't...jk it does
Logged
Get a weapons element?
March 18, 2014, 08:34:04 am
How do I get a weapon's element? Each weapon will only have one element, if that changes anything
G_G
Global Moderator
Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
Chaos Ultimate
Posts: 6,518
Logged
Re: Get a weapons element?
March 18, 2014, 09:04:00 am
#1
It doesn't change anything, but you can do this in a script call via conditional branch.
$data_weapons[ID].element_set.include?(ELEMENT_ID)
There ya go!
Zexion
Addicted to LoL
Chaos User
Posts: 1,511
My anaconda don't...jk it does
Logged
Re: Get a weapons element?
March 18, 2014, 09:15:59 am
#2
<3 Thanks :b
User actions
Print
Go Up
Pages
1
Chaos Project
►
RPG Maker
►
RPG Maker Scripts
►
Get a weapons element?
User actions
Print