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
if(!player.Moving)
{
player.FaceCharacter(cStrayBee1, eNoBlock);
Display("I'm facing the bee");
}
cStrayBee1.Walk(walkx, walky, eNoBlock);
bool under_attack = false;
bool idle = false;
int sting = 0;
function hHotspot1_WalkOn()
{
under_attack = true;
cBee.FollowCharacter(player, 10);
}
function room_RepExec()
{
if(under_attack && sting == 1)
{
if(!player.Moving && !idle)
{
idle = true;
SetTimer(1, GetGameSpeed()*15);
}
else if(player.Moving && idle)
{
idle = false;
}
if(IsTimerExpired(1) && idle)
{
//execute the sting part
Display("The bee attacked you!");
sting = 2;
idle = false;
}
}
else if(under_attack && !sting && !player.Moving)
{
player.FaceCharacter(cBee, eNoBlock);
}
}
bool under_attack = false;
bool idle = false;
int sting = 0;
under_attack = true;
sting = 1;
//execute the sting part
bool under_attack = false;
bool idle = false;
int sting = 0;
function repeatedly_execute()
{
}
bool under_attack = false;
bool idle = false;
int sting = 0;
function repeatedly_execute()
{
if(under_attack && sting == 1)
{
if(!player.Moving && !idle)
{
idle = true;
SetTimer(1, GetGameSpeed()*15);
}
else if(player.Moving && idle)
{
idle = false;
}
if(IsTimerExpired(1) && idle)
{
//execute the sting part
sting = 2;
idle = false;
under_attack = false;
}
}
else if(under_attack && !sting && !player.Moving)
{
player.FaceCharacter(cBee, eNoBlock);
}
}
//Global String CloseupDescription
function CloseUp(int sprite, String desc)
{
PauseGame();
CloseupDescription = desc;
Button.NormalGraphic = sprite;
CloseupGui.Visible = true;
}
//when a close up occurs
CloseUp(10, "That letter was really intresting indeed.");
//when a close up is skipped
UnPauseGame();
CloseupGui.Visible = false;
Display(CloseupDescription);
Quote
andI'm still getting the same error
// Dialog script file
@S // Dialog startup entry point
Ghost: Oh my god, you stole Dracule's prized Flower Pot.
Ghost: You Truly are evil
return
@1
Ghost: Of course it does
Ghost: Here it is
player.AddInventory(iCode);
Display("The Code is now in your inventory");
stop
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.197 seconds with 14 queries.