General Instance Functions
General Instance Functions

These functions can be used by all object instances.

Flags
SetFlagSets a flag of all child instances ON or OFF
SetFlagOnSets a flag of all child instances ON
SetFlagOffSets a flag of all child instances OFF
ToggleFlagToggles a flag of all child instances
IsFlagOnReturns TRUE if any instances have the flag turned ON
IsFlagOffReturns TRUE if any instances have the flag turned OFF
Alterable Values
SetAlterableValueChanges an alterable value for all instances
AddToAlterableValueAdds to an alterable value for all instances
GetAlterableValueReturns an alterable value from the first selected instance
Position
SetPositionChanges the position of all instances
SetXChanges the x position of all instances
SetYChanges the y position of all instances
GetXReturns the x position of the first selected instance
GetYChanges the y position of the first selected instance
Size
SetSizeChanges the size of all instances
SetWidthChanges the width of all instances
SetHeightChanges the height of all instances
GetWidthReturns the width of the first selected instance
GetHeightReturns the height of the first selected instance
Movement
SetMovementChanges the movement type of the object
GetMovementReturns the movement type of the object
SetPlayerChanges the controlling player for the object
GetPlayerReturns the controlling player for the object
SetDirectionChanges the direction of the object
GetDirectionReturns the direction of the object
AddToDirectionAdds to the direction of the object
SetSpeedChanges the speed of the object
GetSpeedReturns the speed of the object
AddToSpeedAdds to the objects speed
StartStarts the movement
StopStops the movement
PausePauses the movement
ResumeResumes the movement
IsPausedChecks if the object is currently paused
BounceCauses the movement to bounce based on the last known collision angle
BounceAtCauses the movement to bounce based on the given collision angle
Display
SetDrawModeChanges the ink effect of the object
GetDrawModeReturns the ink effect of the object
GetSemiTransReturns the semi-transparency of the object
SetTransparentModeTurns transparency on or off
IsTransparentModeChecks if transparency is currently on
SetVisibleShows / Hides the object
ShowShows the object
HideHides the object
IsVisibleChecks if the object is visible
PasteIntoBackgroundPastes an image of the object into the main background surface
SetRotationChanges the rotation angle of the object
GetRotationReturns the rotation angle of the object
Behaviours
SetBehaviourChanges the behaviour of all instances
GetBehaviourReturns the bahaviour of the instances
Stick-to-screen
SetStuckMakes the object stick or unstick to the screen
StickAlias of SetStuck
UnStickAlias of SetStuck( FALSE )
UnStuckChecks if the object is currently stuck to the screen
Layering
ForwardRaises the object's z-depth
BackwardLowers the object's z-depth
ToFrontMoves the object to the highest z-depth
ToBackMoves the object to the lowest z-depth
Collisions
IsLeavingScreenChecks if the object is leaving the screen in any direction
IsLeavingScreenRightChecks if the object is leaving the screen to the right
IsLeavingScreenLeftChecks if the object is leaving the screen to the left
IsLeavingScreenTopChecks if the object is leaving the screen to the top
IsLeavingScreenBottomChecks if the object is leaving the screen to the bottom
IsLeavingZoneChecks if the object is leaving a zone in any direction
IsCollideWithChecks if the object is colliding with another object
IsCollideBackgroundChecks if the object is colliding with the background
IsOverChecks if the object is overlapping another object
IsOverBackgroundChecks if the object is overlapping the background
SetCollisionAngleForces a custom collision angle
GetCollisionAngleReturns the last collision angle
Special
GetUniqueIDReturns the unique ID of the first selected instance



JAM © 2005 no one in particular
Project started by David Evans in 2005