login
sign up
.
Search
Chaos Project
Home
Script Database
Search
Calendar
Sign Up
Chaos Project
►
RPG Maker
►
RPG Maker Scripts
►
Script Requests
►
equip and unequip stuff from the heros
equip and unequip stuff from the heros
Started by Apidcloud, March 26, 2011, 10:13:46 am
Previous topic
-
Next topic
Print
Go Down
Pages
1
User actions
Apidcloud
Ethereal Devastator
Posts: 266
Epic pony is epic'
Logged
equip and unequip stuff from the heros
March 26, 2011, 10:13:46 am
Hey XD
I've been quite busy with school but I came back to RM yesterday
So, Im trying to figure out how I equip or unequip weapons or whatever from the hero.
I've been trying to use command_319 from the Interpreter but no results at all..
appreciated
Instead of wanting to be somebody else, rather become somebody else
"I will treasure the knowledge like a squirrel treasures acorns."
Gibbo Glast 2D Engine
- The sky is no longer a limit
G_G
Global Moderator
Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
Chaos Ultimate
Posts: 6,518
Logged
Re: equip and unequip stuff from the heros
March 26, 2011, 11:16:29 am
#1
There are event commands for this. 3rd page, 1st column, 12th button down.
Apidcloud
Ethereal Devastator
Posts: 266
Epic pony is epic'
Logged
Re: equip and unequip stuff from the heros
March 26, 2011, 11:44:03 am
#2
I want by script
Instead of wanting to be somebody else, rather become somebody else
"I will treasure the knowledge like a squirrel treasures acorns."
Gibbo Glast 2D Engine
- The sky is no longer a limit
G_G
Global Moderator
Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
Chaos Ultimate
Posts: 6,518
Logged
Re: equip and unequip stuff from the heros
March 26, 2011, 11:56:44 am
#3
Then use the build int method already.
$game_actors[actor_id].equip(equip_type, id)
Equip Type can be
0: Weapon
1: Shield
2: Head
3: Armor
4: Accessory
ID is the id of the weapon/armor in the database.
Set id to 0 if you want to remove the equipment.
Apidcloud
Ethereal Devastator
Posts: 266
Epic pony is epic'
Logged
Re: equip and unequip stuff from the heros
March 26, 2011, 12:06:26 pm
#4
Last Edit
: March 26, 2011, 12:17:17 pm by Apidcloud
Thanks a lot
etc:
Can you say me how did u figure that out?
I really want to know how to figure what that parameters are XD
Instead of wanting to be somebody else, rather become somebody else
"I will treasure the knowledge like a squirrel treasures acorns."
Gibbo Glast 2D Engine
- The sky is no longer a limit
G_G
Global Moderator
Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
Chaos Ultimate
Posts: 6,518
Logged
Re: equip and unequip stuff from the heros
March 26, 2011, 12:15:19 pm
#5
Go into Game_Actor. Look for the line "def equip"
Apidcloud
Ethereal Devastator
Posts: 266
Epic pony is epic'
Logged
Re: equip and unequip stuff from the heros
March 26, 2011, 12:17:59 pm
#6
lol XD I forgot to check Game_Actor <.<
Well, thanks a lot really xd
My question was about Interpreter.. xD
Instead of wanting to be somebody else, rather become somebody else
"I will treasure the knowledge like a squirrel treasures acorns."
Gibbo Glast 2D Engine
- The sky is no longer a limit
G_G
Global Moderator
Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
Chaos Ultimate
Posts: 6,518
Logged
Re: equip and unequip stuff from the heros
March 26, 2011, 12:44:19 pm
#7
You really can't call interpreter methods through a script call. Well you can, but setting parameters isn't easy without other scripting knowledge on modifying the interpreter.
User actions
Print
Go Up
Pages
1
Chaos Project
►
RPG Maker
►
RPG Maker Scripts
►
Script Requests
►
equip and unequip stuff from the heros
User actions
Print