khris, i used .move because i will create an animation, because he will walk on a edge, so i used move... you meani don't have to use the int's? LOL of course i don't! I'm soooo stupid, i do the things the hardest way... Thanks btw!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
function room_RepExec()
{
cCliche.Transparency = 100;
if (IsTimerExpired(8)){
cCharacter.Say("Oh no! he is comming!");
SetViewport(600, 112);
oMetalBar1.SetView(7, 0);
oMetalBar1.Animate(0, 5, eOnce, eBlock, eForwards);
oMetalBar2.SetView(7, 0);
oMetalBar2.Animate(0, 5, eOnce, eBlock, eForwards);
oMetalBar3.SetView(7, 0);
oMetalBar3.Animate(0, 5, eOnce, eBlock, eForwards);
SetBackgroundFrame(2);
Wait(80);
cCliche.Transparency = 0;
SetBackgroundFrame(2);
cCliche.Say("Ha! Now i will take this intruder and teach him a lesson!");
cCliche.Move(629, 152);
Wait(40);
cCliche.Move(627, 173);
cCliche.FaceLocation(527, 188);
int PlayerX = cCharacter.x;
int PlayerY = cCharacter.y;
cCliche.Walk(PlayerX, PlayerY);
ReleaseViewport();
}
if (SecSystem == false){
SetBackgroundFrame(0);
}
else {
SetBackgroundFrame(1);
oMetalBar1.Visible = true;
oMetalBar2.Visible = true;
oMetalBar3.Visible = true;
oDoorLeft.Visible = true;
oDoorRight.Visible = true;
}
}
function hHotspot1_Interact()
{
int RandomInteract=Random(2);
if (RandomInteract==0){
dRandomInteract1.Start();
}
if (RandomInteract==1){
dRandomInteract2.Start();
}
else {
dRandomInteract3.Start();
}
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.113 seconds with 14 queries.