AnimationRunScript

From Adventure Game Studio
Revision as of 01:37, 18 November 2006 by *>Janik (License changed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Download AnimationRunScript 1.0a Here


// ************* AGS MODULE: Animation Run Script *************
// 
//
// 	This module allows you to run a piece of script on specific frames
//	during an animation of a character or an object.
//
//	Example uses:
//		* Make a blinking light change the tint/light level of the player.
//		* Say you have a trap like rotating knives. You can check for contact
//			with the player and inflict damage/kill him.
//		* Play more than one sound on a specific frame of animation.
//
//	Usage: 
//		In game_start, insert calls to ars_AddCharacter (see below).
//		In "Enter Room (Before Fadein)", insert calls to ars_AddObject (see below).
//		Edit the ars_RunScript() function and put in your code.
//	
//
//	Written to address: http://www.bigbluecup.com/tracker.php?action=detail&id=455
//
// ------------------
//
// * Author: Janik Zikovsky (jzikovsky - at - hotmail.com)
//
// * Revision History
// 		2006-11-16 		v1.0 		Initial Release
// 		2006-11-16 		v1.0a 		License changed.
//
//