Game Development Reference
In-Depth Information
if(!SkullVar.Moved) Scout.ForceTalkAnim(“actors\scout\rr\talkup.sprite”);
Scout.Talk(“Would you like to play a game of cards.”);
Skull.ForceTalkAnim(“sprites\Skull\talk.sprite”);
Skull.Talk(“And just how do you expect me to hold my cards?”);
Game.Interactive = true;
}
////////////////////////////////////////////////////////////////////////////////
on “Coconut”
{
Game.SelectedItem = “null”;
Scout.GoToObject(this);
Game.Interactive = false;
Scout.Talk(“Hey, Coconut. Come over here, will you?”);
Coconut.Talk(“Okay...”);
Coconut.GoTo(551, 565);
Coconut.Talk(“What do you want?”);
Scout.Talk(“Have you ever seen a talking skull before?”);
Coconut.Talk(“No...”);
if(!SkullVar.Moved) Scout.ForceTalkAnim(“actors\scout\rr\talkup.sprite”);
Scout.Talk(“Hey, skull, say something cool.”);
Skull.ForceTalkAnim(“sprites\Skull\talk.sprite”);
Skull.Talk(“I'm not a trained parrot, you know.”);
Coconut.Talk(“Hey, that's neat.”);
Game.Interactive = true;
}
////////////////////////////////////////////////////////////////////////////////
on “LeftClick”
{
Scout.GoToObject(this);
}
Search WWH ::




Custom Search