Make sure to reference this one first!
If anyone is confused about their script calls, dump your question here.
If anyone is confused about their script calls, dump your question here.
$game_map.events[2].set_graphic($game_actors[$game_variables[17]].character_name,
$game_actors[$game_variables[17]].character_index)
Alternatively, I also used this variation that failed also
v = $game_variables
$game_map.events[2].set_graphic($game_actors[v[17]].character_name,
$game_actors[v[17]].character_index)
I did a check of variable 17 before the script call activates, and you're right, it comes out as the wrong numberMy guess is the variable is not getting set to a valid actor id for some reason. Try a call of p v[17] (or p $game_variables[17]) after the first line and see what is displayed in the console.
to make variable 45 = whatever the actor's ID was + 200. However, that script call appeared to make both variables the same # because of the '+=' which I used after seeing it written like that with the Control Variable event functions when you used addition on a variable. So if the Actor's ID (and so V17) was 3, then both Variable 45 and 17 were changed to 203, whereas I only wanted variable 45 to equal the value of V17 + 200. I've changed the previous script call to$game_variables[45] = $game_variables[17] += 200
and now I'm getting the right # for the actor ID. Thanks for your help$game_variables[45] = $game_variables[17] + 200
well the part i am modifying is small its the second spoilerhey Viper, I'm moving that to RGSSX support boards since that is HUGE.
oh i wasn't sure how this thread worked since it was newYou're asking for custom script related help. not script call equivalent of default scripts/events help.
ya i'm working on the script now its actually a simple script to write i'm almost finished thanks for the reply thoughIt works the same as this, but you can't reset the camera. You need a script for that.
if $game_party.battlers.any? {|actor| actor.skill_learn?($data_skills[226]) }