PREXUS ACE - CHARACTER SHADOWS

RPG Maker VX Ace

A quick script to add shadows under characters, events, and followers.

  • prexus
  • 04/03/2012 04:09 AM
  • 8292 views
Prexus - Character Shadows
Changelog
2012.10.04 - Added Added a way to give individual events a shadow or not by putting a $ as the first character of the event name.
Note: If event shadows are turned ON by default, this will REMOVE the shadow instead of adding it.
2012.04.05 - Fixed an issue with shadow sprites not disposing properly.
2012.04.03 - Added 'default on' flags for the Player, Followers, and Events

The following is a small, quick script to add shadows under characters!



These can be added to events, followers, or the player map sprite by simply setting their shadow value to true. Below you can see examples of how to switch these shadows on or off.
To give an event a shadow or remove it's shadow (depending on which is default) you can make the first character of the event name a $. This will set it to the opposite of the default (on if the default is off, off if the default is on.)

<#Game_Event>.shadow = true
Call Script:
$game_map.events[ ID ].shadow = true

<#Game_Follower>.shadow = true
Call Script:
$game_player.followers[ ID ].shadow = true

<#Game_Player>.shadow = true
Call Script:
$game_player.shadow = true


License / Terms of Usage Agreement
All scripts created by Prexus for use with RPG Maker VX Ace may be freely used in any non-commercial RPG Maker VX Ace project; so long as credit is provided to Prexus via in-game credit, a packaged "Credit" text file, and on any promotional media (including but not limited to Box-Art, Posters, Commercials/TV Spots, Websites, and "Game Pages"/Forum Threads.) This script may not be distributed or reposted by unauthorized individuals.

By using this script, either wholy or as a base for a derivation, you agree to abide by the terms put forth by the Terms of Usage Agreement.

Posts

Pages: 1
how do you set the value to true? I'm still new with scripts...
For your character hero, you use a Call Script in an event, set up like so:

Call Script:
$game_player.shadow = true

For events and followers, it's slightly more complicated.

For events, it should be

Call Script:
$game_map.events[id].shadow = true

where id is the ID of the event

and for Followers it should be something along the lines of:

Call Script:
$game_player.followers[id].shadow = true
Thank you, i still don't understand but that's not your fault. I just need to take a crash corse on scripts :-p
Very simple, but nice detail. Thanks!
Kind of late, but quick question.
I'm using the Enu Sideview Battle System along with this script. Can you remove the shadow of the 2nd party member, besides the leader when battling an enemy?
Pages: 1