FANDOM


You can use this to change an object to another object. Seems useful right? it is thats why.

Syntax: action_change_object(anotherobject,true);

To change obj_wood to obj_stone from obj_wood: action_change_object(obj_stone,true);

To change obj_wood to obj_stone from another object: action_change_object(obj_wood,obj_stone) 

Example: 

if(lives <= 1) 

{ 

action_change_object(obj_inv, obj_infected); //Our lives are 1 We are infected, add infected animation 

action_change_object(obj_char_infected,true); //Change our char to slower char. 

}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.