Public Member Functions | |
beginSprite (me) | |
Sprite Handlers--------------------------------------------------------------- ------------------------------------------------------------------------------. | |
endSprite (me) | |
PURPOSE: General clean up. | |
enterFrame (me) | |
PURPOSE: Update tracking camera. | |
exitFrame (me) | |
PURPOSE: Update old positional information. | |
isOKtoAttach (aScript, aSpriteType, aSpriteNum) | |
Predefined Handlers----------------------------------------------------------- ------------------------------------------------------------------------------ PURPOSE: Determines whether the behavior can be dropped onto a sprite in the score. | |
getPropertyDescriptionList (aScript) | |
PURPOSE: Allows the user a dialog box access to the behavior's properties. | |
getBehaviorToolTip (aScript) | |
PURPOSE: Provides a tooltip in the behavior library palette. | |
getBehaviorDescription (aScript) | |
PURPOSE: Provides a behavior description in the behavior inspector. | |
Private Attributes | |
pCamera | |
------- Camera | |
pMember | |
------- Member | |
pSprite | |
------- Sprite |
|
Sprite Handlers--------------------------------------------------------------- ------------------------------------------------------------------------------.
|
|
PURPOSE: General clean up. ACCEPTS: 'me' as an instance of this script. RETURNS: Nothing. --------------------------------- |
|
PURPOSE: Update tracking camera. ACCEPTS: 'me' as an instance of this script. RETURNS: Nothing. --------------------------- |
|
PURPOSE: Update old positional information. ACCEPTS: 'me' as an instance of this script. RETURNS: Nothing. --------------------------- |
|
PURPOSE: Provides a behavior description in the behavior inspector. ACCEPTS: 'aScript' as a reference to a script member. RETURNS: 'tString' as a string. --------------------------------- |
|
PURPOSE: Provides a tooltip in the behavior library palette. ACCEPTS: 'aScript' as a reference to a script member. RETURNS: 'tString' as a string. --------------------------------- |
|
PURPOSE: Allows the user a dialog box access to the behavior's properties. ACCEPTS: 'aScript' as a reference to a script member. RETURNS: 'TGPDList' as a property list containing author definable behavior properties --------------------------------- |
|
Predefined Handlers----------------------------------------------------------- ------------------------------------------------------------------------------ PURPOSE: Determines whether the behavior can be dropped onto a sprite in the score. ACCEPTS: 'aScript' as a reference to a script member. 'aSpriteType' as a symbol. It indicates the type of sprite attempting to be dropped on to. 'aSpriteNum' as an integer. Indicates the channel of the sprite being dropped on to. RETURNS: True if the behavior is allowed to be dropped on the sprite or score, false otherwise. --------------------------------- |
|
------- Camera This sprite's camera. |
|
------- Member The member of this sprite. |
|
------- Sprite This sprite. |