MoveCharacter AND BACK .

Started by Candle, Sun 11/04/2004 14:17:22

Previous topic - Next topic

Candle

 // script for room: First time player enters screen
MoveCharacter (ALIEN, 88, 133);
MoveCharacterPath (ALIEN, 336, 139);
MoveCharacterPath (ALIEN, 88, 133);
So i want him to move back and forth and not stop  , how ?
Right now he goes down the street and back to where he started .

Scorpiorus

You need to move your script to room's repeatedly execute:


// script for room: Repeatedly execute

if (character[ALIEN].walking == 0) { //if not walking
 MoveCharacterPath (ALIEN, 88, 133);
 MoveCharacterPath (ALIEN, 336, 139);
}

~Cheers

Candle

I saw that and was thinking ummm but was not to sure about it .
Thank you for the help  again ..

SMF spam blocked by CleanTalk