Noxico


Each BoardChar now has a few scripts:

  • OnTick
  • OnLoad
  • OnPlayerBump
  • OnHurt
  • OnPathFinish

In this test, we pick out a BoardChar on load and give them two scripts:

OnPlayerBump

if (!this.Character.HasToken("hiding"))
{
  corner("Eep!");
  this.MoveTo(1, 1, "hide");
}
else
  message("Please stop following and touching me...");

OnPathFinish

if (target == "hide")
  this.Character.AddToken("hiding");

The result can be seen in the photoset up top. The victim is the black felinoid just down the center.

[ ]

Leave a Reply

Your email address will not be published. Required fields are marked *