Conversation
added some base code for quest 2
There was a problem hiding this comment.
since trigger is based on Unit, the "say" method is currently capitalized, .Say (js is case sensitive). also this line is missing a semi colon.
There was a problem hiding this comment.
Yes, thank you.
On Wed, Oct 30, 2013 at 8:52 PM, Ben Sparks notifications@github.comwrote:
In scripts/triggers/halloween.js:
@@ -43,19 +43,22 @@ module.exports = {
onEnter: function(unit) {
var trigger = this;
// gimme candy!// player drops candy- // get item (pumpkin mask?)
trigger.say("Trick or Treat!")since trigger is based on Unit, the "say" method is currently capitalized,
.Say (js is case sensitive). also this line is missing a semi colon.—
Reply to this email directly or view it on GitHubhttps://github.com//pull/4/files#r7333535
.
|
im making so many comments in hopes to pass on some of my understanding of the game engine, hope it helps |
|
It's helping a lot, some of it makes sense(but some doesn;t) On Wed, Oct 30, 2013 at 9:10 PM, Ben Sparks notifications@github.comwrote:
|
added some base code for quest 2