Thread: [Tutorial] XSE Scripting Tutorial
View Single Post
Old 2nd March 2018, 01:53 PM  
Join Date: Nov 2013
Posts: 33

Hide/Show Map Objects

Do you need to make a NPC or other OW disappear?
Originally Posted by Avara
hidesprite 0x[Map Object ID]
One line is all you need! The "Map Object ID" refers to what AdvanceMap calls the "Person Event Number", as seen here:

Remember to convert this to hex! So, if our OW sprite had a "Person Event Number" of 10, you'd want to use 0xA in your script, not 0x10. To make a previously hidden sprite visible, we'd use showsprite the same way:
Originally Posted by Avara
showsprite 0x[Map Object ID]
Avara is offline   Reply With Quote
Likes Lunos liked this post