Quote from: SSH on Sun 25/07/2010 12:12:46This...This was surprisingly helpful.Code: ags function cFred_Talk () { if (player == cFred) { player.Say("I wish I had made the player character unclickable when switching, as click on oneself are annoying"); } else if (player==cBetty) { player.Say("Hey, Fred, while Barney's not around lets get it on."); } else if (player==cBarney) { player.Say("Fred, old pal, if you hit on Betty, I'll kill you"); } }
I guess this code only works for objects and events; that makes sense.
Thanks! :)