Game Development Reference
In-Depth Information
Scout.ForceTalkAnim(“actors\scout\rr\talkup.sprite”);
Scout.Talk(“Good grief, a talking skull!”);
// set the flag, so that we know we've already talked to him
SkullVar.Talked = true;
}
Game.Interactive = true;
}
////////////////////////////////////////////////////////////////////////////////
on “Take”
{
Scout.GoToObject(this);
Game.Interactive = false;
if(!SkullVar.Moved)
{
if(!SkullVar.Moved) Scout.ForceTalkAnim(“actors\scout\rr\talkup.sprite”);
Scout.Talk(“Excuse me a moment.”);
Skull.ForceTalkAnim(“sprites\Skull\talk.sprite”);
Skull.Talk(“Hey, just what do you think you're doing?”);
Skull.SkipTo(440, 450);
Pole.Interactive = true;
SkullVar.Moved = true;
}
else
{
Scout.Talk(“No need to move it again.”);
}
Game.Interactive = true;
}
////////////////////////////////////////////////////////////////////////////////
on “Cards”
{
Scout.GoToObject(this);
Game.Interactive = false;
Search WWH ::




Custom Search