Thanks for help but the scrpit is in global script at function repeatedly_execute()
cus i want that character and NPC move everyday in certain time to room 4 and then NPC moves at certain positon in the new room. So its like:
if (time == something) {
character[RASTA2].ChangeRoom(4, 199, 24);
character[HARRY].ChangeRoom(4, 199, 28); //HARRY is the player char.
character[RASTA2].Walk(48, 72,eNoBlock,eWalkableAreas);
}
cus i want that character and NPC move everyday in certain time to room 4 and then NPC moves at certain positon in the new room. So its like:
if (time == something) {
character[RASTA2].ChangeRoom(4, 199, 24);
character[HARRY].ChangeRoom(4, 199, 28); //HARRY is the player char.
character[RASTA2].Walk(48, 72,eNoBlock,eWalkableAreas);
}