http://blog.rpgmakerweb.com/tutorials/insert-scripts/
To show an icon on a event just take CtI = Iconid
as the name of the event.
Example: CtI = 1
If you want to set the icon visible just use this in a
Call Script...
icon_visibility(id,status)
id = eventid
status = true/false
this command works only for an event on the visited map.
To change the visibility of all icons on the visited map use:
all_icon_visibility(status)
status = true/false
To change the visibility of all icons on all visited maps use:
global_icon_visibility(status)
status = true/false