//skill1 : LevelToLoad 2 action Door_To_Next_Room() { set(my,PASSABLE|INVISIBLE); while(!player) wait(1); while(vec_dist(my.x, player.x)>80) wait(1); if(my.skill1 == 1) level_load("room1.wmb"); if(my.skill1 == 2) level_load("room2.wmb"); }
//skill1 Level 1 action After_Levelload() { set(my,PASSABLE|INVISIBLE); while(!player) wait(1); if(my.skill1 == 1) { player.x = 1000;player.y=1400;player.z = 50; } if(my.skill1 == 2) { player.x = 100; player.y=140; player.z = 50; } wait(1); ptr_remove(me); }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de