Rpg skill increase script help 2.8

Chat and ask questions about the RPG Maker Mode here.
User avatar
Sircameron
Member
Member
Posts: 62
Joined: March 6th, 2012, 9:13 pm
Name: Cameron
Location: Indiana

Rpg skill increase script help 2.8

Postby Sircameron » October 24th, 2012, 10:59 pm

So this code doesnt work and i cant figure out how to do a skill increase in a script..

Code: Select all

r_set_skill $SKILL_DIPLOMACY (+ (r_get_skill $SKILL_DIPLOMACY) 1)

ive tried this and many other ways and still cant figure it out.. If anyone can show me what im doing wrong that'd be awesome thanks

Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Rpg skill increase script help 2.8

Postby Hirato » October 25th, 2012, 12:44 am

Code: Select all

r_select_char ref [
    r_char_base_diplomacy (+ (r_char_base_diplomacy_get) 1)
]
This is not a url, clicking it is pointless

User avatar
Sircameron
Member
Member
Posts: 62
Joined: March 6th, 2012, 9:13 pm
Name: Cameron
Location: Indiana

Re: Rpg skill increase script help 2.8

Postby Sircameron » October 25th, 2012, 2:19 am

"Unable to select reference ref type as char"
**Edit**
got it to work using

Code: Select all

r_select_char actor [ ]

thanks for the help! :)


Return to “RPG Maker Mode”

Who is online

Users browsing this forum: No registered users and 2 guests