Page 1 of 1

Rpg skill increase script help 2.8

Posted: October 24th, 2012, 10:59 pm
by Sircameron
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

Re: Rpg skill increase script help 2.8

Posted: October 25th, 2012, 12:44 am
by Hirato

Code: Select all

r_select_char ref [
    r_char_base_diplomacy (+ (r_char_base_diplomacy_get) 1)
]

Re: Rpg skill increase script help 2.8

Posted: October 25th, 2012, 2:19 am
by Sircameron
"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! :)