46
Technical forum / Re: Bucket of problems
« on: June 04, 2008, 09:57:59 AM »
Thank You! You're the best person in the World!
#include "scripts\base.inc"
on "LeftClick"
{
actor.GoTo(816, 598);
actor.TurnTo(DI_DOWN);
Game.Interactive = false;
Scene.FadeOutAsync(1500,0,0,0,255);
actor.PlayAnim("stairs_dn");
Game.ChangeScene("scenes\Stairs\Stairs2\Stairs2.scene", false, false);
actor.UnloadAnim("stairs_dn");
Game.Interactive = true;
}
on "LeftDoubleClick"
{
actor.RunTo(816, 598);
actor.TurnTo(DI_DOWN);
Game.Interactive = false;
Scene.FadeOutAsync(1500,0,0,0,255);
actor.PlayAnim("stairs_dn");
Game.ChangeScene("scenes\Stairs\Stairs2\Stairs2.scene", false, false);
actor.UnloadAnim("stairs_dn");
Game.Interactive = true;
}
#include "scripts\base.inc"
on "LeftClick"
{
actor.GoTo(-61, 686);
actor.TurnTo(DI_LEFT);
Game.ChangeScene("scenes\Stairs\Stairs4\Stairs4.scene", false, false);
}
on "LeftDoubleClick"
{
actor.RunTo(-61, 686);
actor.TurnTo(DI_LEFT);
Game.ChangeScene("scenes\Stairs\Stairs4\Stairs4.scene", false, false);
}