
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 ((oMobster1Dead.Visible) && (oMobster2Dead.Visible) && (oMobster3Dead.Visible)) {
Display("You have killed the 3 Mobsters and it's now safe to pass")
player.ChangeRoom(23, 55, 371);
}
function cHank_UseInv()
{
if (player.ActiveInventory == iduster)
{
}
if ((cHank.x - cEgo.x <=90 && cHank.x >= cEgo.x) || (cEgo.x - cHank.x < 90 && cEgo.x > cHank.x))
{
cHank.Say("Ouch!");
{
cEgo.Say("sorry mate");
Display("He falls down and you drag him off and hide him in the bushes");
Display("You search him and find a knife");
player.AddInventory(iknife);
SetTimer(1,0);
cHank.ChangeRoom(30);
}
}
else
{
Display("That's no good!!");
}
}
function room_Load()
{
player.SpeechView = 5;
cEgo.ChangeView(4);
cEgo.SetWalkSpeed(3, 3);
cEgo.ManualScaling = true;
cEgo.Scaling = 80;
cChris.ManualScaling = true;
cChris.Scaling = 80;
cHank.ManualScaling = true;
cHank.Scaling = 80;
player.FaceLocation(165, 357);
SetTimer(1, 1600);
SetTimer(2, 2800);
}
function room_RepExec()
{
if (IsTimerExpired(1)){
cHank.Walk(96, 458, eBlock);
cHank.Say("Nothing here");
cHank.Walk(414, 318, eNoBlock);
cHank.Say("Wish I had me fags now!");
SetTimer(1, 1600);
}
if (IsTimerExpired(2)){
cChris.Walk(96, 458, eBlock);
cChris.Say("All quiet here");
cChris.Walk(414, 318, eNoBlock);
SetTimer(2, 2800);
}
}
}
function cBartender_UseInv()
{
if (player.ActiveInventory == iduster)
if ((cBartender.x - cEgo.x <= 10) && (cBartender.x >= cEgo.x)) || ((cEgo.x - cBartender.x < 10) && (cEgo.x > cBartender.x))
Display("You hit him with the knuckle duster!");
}
GlobalScript.asc(633): Error (line 633): PE04: parse error at '||'
if (cEgo.IsCollidingWithChar(cMan) == 1)
{ colliding code here
SetCharacterSpeechView
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.088 seconds with 14 queries.