Script Call Equivalent of Events

ohh...in that case nvm..i was just curious because of this script im using the get on/off command doesnt work, so i thought maybe a force button press would make him get on the vehicle...looks like i'll have to work around it :X ty tho.
Can smeone consolidate all of these script call equivalents? I wanted to get the one for self_switches yesterday and it took me a while to find it.. it's in there somewhere and I know the answer to my question now (it's soooooo handy to be able to check and set self_switches on other events) but it would be handy to have all this information in a concise and consolidated format.
Can smeone consolidate all of these script call equivalents? I wanted to get the one for self_switches yesterday and it took me a while to find it.. it's in there somewhere and I know the answer to my question now (it's soooooo handy to be able to check and set self_switches on other events) but it would be handy to have all this information in a concise and consolidated format.
lol 🤣 , I was just about to post the same thing. 🤘 🙂 🤘 Soooo... umm, yeah I second this.
ohh...in that case nvm..i was just curious because of this script im using the get on/off command doesnt work, so i thought maybe a force button press would make him get on the vehicle...looks like i'll have to work around it :X ty tho.
Unless you know and accept why the script makes vehicle entry/exit not work, I suggest you post a new thread with a link to your script, and ask for help to fix the problem. I can't think of a good reason why a script would change that functionality.
yeah so somehow this post got messed up...


i'm just gonna leave this post for the mods to delete or whatever..
could anyone give a fair example how to actually show pictures on scripts?

i did this on a class:

screen.pictures[1].show("Clock_Hud", 1, 410, -4, 0, 0, 255, 0)and it just don't show, at first its even giving me errors since it says it does not recognize the word screen, so I made a new def on Game_Interpreter then I took the object from the class I want it to. After that, its just giving me nothing.
could anyone give a fair example how to actually show pictures on scripts?

i did this on a class:

screen.pictures[1].show("Clock_Hud", 1, 410, -4, 0, 0, 255, 0)and it just don't show, at first its even giving me errors since it says it does not recognize the word screen, so I made a new def on Game_Interpreter then I took the object from the class I want it to. After that, its just giving me nothing
zoom_x and zoom_y default values are 100 from start.

Code:
screen.pictures[1].show("Clock_Hud", 1, 410, -4, 100, 100, 255, 0)
zoom_x and zoom_y default values are 100 from start.

screen.pictures[1].show("Clock_Hud", 1, 410, -4, 100, 100, 255, 0)
now that explains it. thanks 😀
What's the script call equivalent of showing an animation on an event?

Also, is there a list of script calls for the move routes? Specifically I just need turning in a specific direction.
if calling using a Script in a move route, just type animation_id = #.


If calling using a Call Script event command, type $game_map.events[eventid].animation_id = #


where eventid is the id of the event (exclude any leading zeros - type 2 instead of 0002), and # is the id of the animation (again exclude leading zeros).
Thanks Shaz, would you also happen to know the Call Script for the equivalent of a "Set Move Route Turn Left/Up/Right/Down" for an Event?

EDIT: Nevermind, found it:

$game_map.events[eventid].set_direction(#)2 = down, 4 = left, 6 = right, 8 = up.

found it here:

http://rgss3doc.tk/en/full/Game_Character.html#method-i-advance_move_route_index
What can I call to change the back_opacity of a message window?
You just say @windowname.back_opacity = value


But you have to do it in the scene that's calling the window, not in the window class itself. At least, that's the only way I've ever been able to get it to work.
You just say @windowname.back_opacity = value

But you have to do it in the scene that's calling the window, not in the window class itself. At least, that's the only way I've ever been able to get it to work.
Can't you use this in the window class?

Code:
self.back_opacity = value
I have tried this, but it seems to get ignored. Maybe I'm just not putting it in the correct place (I usually put it in the initialize method sometime after the call to super).
I just tried it in Window_Message and said code worked for me.
Maybe I will have to revisit that 😀
I'm wondering, I need to call a Show Balloon Icon event within a Move Route event over a non-player event with a script call, what would the command be?
hey, i saw the post a little back about how to get if certain weapons are equipped, but is there a known way of getting if a certain weapon type is equipped? i'm searching around in the script editor but i haven't found anything yet, perhaps using .etype?
@Yonma, If your move route is for the event you want the balloon to appear on, just add balloon_id = #. If it's for a different event, add $game_map.events[eventid].balloon_id = # where # is the row of the balloon spritesheet you want to show (I think the top row is 1, not 0), and eventid is the id of the event, with no leading zeros.


@amicable, etype will just tell you if it's a weapon or a certain type of armor. If you want a certain type of weapon, you'd look at weapons rather than equips, and you'd check the weapon's wtype_id.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-equivalent-of-events.6248/