08.11.2012 Views

Designing Games with Game Maker - YoYo Games

Designing Games with Game Maker - YoYo Games

Designing Games with Game Maker - YoYo Games

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

script_exists(ind) Returns whether a script <strong>with</strong> the given index exists.<br />

script_get_name(ind) Returns the name of the script <strong>with</strong> the given<br />

index.<br />

script_get_text(ind) Returns the text string of the script <strong>with</strong> the given<br />

index.<br />

Time lines<br />

The following functions will give you information about a timeline:<br />

timeline_exists(ind) Returns whether a time line <strong>with</strong> the given index<br />

exists.<br />

timeline_get_name(ind) Returns the name of the time line <strong>with</strong> the given<br />

index.<br />

Objects<br />

The following functions will give you information about an object:<br />

object_exists(ind) Returns whether an object <strong>with</strong> the given index exists.<br />

object_get_name(ind) Returns the name of the object <strong>with</strong> the given<br />

index.<br />

object_get_sprite(ind) Returns the index of the default sprite of the<br />

object <strong>with</strong> the given index.<br />

object_get_solid(ind) Returns whether the object <strong>with</strong> the given index is<br />

default solid.<br />

object_get_visible(ind) Returns whether the object <strong>with</strong> the given<br />

index is default visible.<br />

object_get_depth(ind) Returns the depth of the object <strong>with</strong> the given<br />

index.<br />

object_get_persistent(ind) Returns whether the object <strong>with</strong> the given<br />

index is persistent.<br />

object_get_mask(ind) Returns the index of the mask of the object <strong>with</strong><br />

the given index (-1 if is has no special mask).<br />

object_get_parent(ind) Returns index of the parent object of object ind<br />

(a negative value is returned if it has no parent).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!