Author Topic: [XP] "Inspect" Event Animation  (Read 258 times)

Offline Jaiden

  • Awakened Visionist
  • **
  • Posts: 76
  • LV: 4
  • Gender: Female
    • View Profile
    • Legends of Astravia
[XP] "Inspect" Event Animation
« on: October 02, 2018, 05:14:56 AM »
"Inspect" Event Animation
Authors: Jaiden, KK20
Version: 1.1
Type: Event Feature
Key Term: Environment Add-on


Do you want to indicate that an event can be interacted with using a nifty animation? This is the script for you! Similar to how most games have some sort of a "press to interact" indicator, this script displays an animation when the player is facing events you've marked for "inspection".


  • Easy to select which event / event page to display on
  • Animation displayed is customizable
  • Should be reasonably compatible with most scripts


Gif example using a custom animation:
(click to show/hide)




(click to show/hide)


Instructions are in the script, but it is as simple as putting a comment with "\inspect_event" in the event page you want the animation to display on. Note that the default animation used, "EM Exclamation" plays a sound every time it is looped. I suggest creating a new, silent animation and setting its ID in the configuration.


This script aliases the Game_Map, Game_Event, Game_Character and Sprite_Character classes. This will not be compatible with any scripts that heavily re-write those classes.

Credits and Thanks

  • KK20 for helping with 90% of this
  • Everyone else in the Discord server for helping out and/or dealing with my ramblings

Author's Notes

This is my first script. I figured I'd make a contribution back to Chaos Project since this community has been so helpful in my game's development. Hopefully this script treats someone else just as well!

Credit for this script isn't required, but greatly appreciated, with the exception of redistribution. If you post this script elsewhere, please link back to this original post.
« Last Edit: October 02, 2018, 05:33:58 PM by Jaiden »

Offline Jaiden

  • Awakened Visionist
  • **
  • Posts: 76
  • LV: 4
  • Gender: Female
    • View Profile
    • Legends of Astravia
Re: [XP] "Inspect" Event Animation
« Reply #1 on: October 02, 2018, 05:08:10 PM »
Updated to v1.1; fixed a bug where the map wasn't refreshing correctly and the animation wouldn't always display.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 20003
  • LV: 651
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] "Inspect" Event Animation
« Reply #2 on: October 03, 2018, 09:04:27 PM »
Now you're a real scripter. First you had to fix your own broken code, it's kind of a ritual. >_>
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam

Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.