- Joined
- Nov 22, 2014
- Messages
- 277
- Reaction score
- 52
- First Language
- german
- Primarily Uses
Wow, this might be very helpfull for developing and finding things, thank you!! =DIf you are not sure how to get the desired data for a database item, here is what you can do:Make an event. In the event, just make a script call command like this:
p $data_object[id]You can do this in a script in the script editor also.
Examples: p $data_skills[12], p $data_actors[5], p $data_weapons[34], etc.
This will print everything out about an object of your choice.
You will see many "@var_name" texts in the console and their value.
Those are the datas of the object you just printed to the console.
If you enter $data_object[id].var_name, you will get that data returned.
Some of them are "sub-datas", just like the element of the skills, but those can be identified quickly as well. You will see the same "@var_name" displayed, but after the name of it, you will see something like "<RPG:bjName...". If you see that, you will first need to enter the first @var_name which was before the <RPG:
bjName... text and after that, enter the second @var_name inside that RPG:
ject.
This is how I find specific data for an object. Much quicker than searching for it in the help files which can't even show you the new, custom effects from custom scripts. It also shows the value of each data, so even if I don't know what some data means, I can still assume it if I see their values.
Sorry if I failed to explain this in an understandable way, I kinda suck at explaining these scripting things.
and I totally understand what you want to explain, no worries! ^^
again, thank you for this tip!
Last edited by a moderator:
