View Single Post
  #13  
Old 09-10-2011, 10:50 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Weapons in Graal are not necessarily (and usually aren't) actual usable weapons. Classes are kind of like includes; they can't be on their own, they have to be joined to a weapon or NPC.

Quote:
Originally Posted by furry_mougle View Post
The only thing I don't understand is why you wrote ! this.isEquipped() instead of !this.Equipped? How can you check empty parameters like that? (cbk) FP4: by 'system' NPC do you mean a class or an actual system NPC? Also why would I want to fire with the S key? wat
isEquipped() is just a function, you can either define it or use a variable directly.

Quote:
Originally Posted by Crow View Post
Missed the parenthesis. Thought you were talking about the space after the exclamation mark. I guess he put the parenthesis by accident.
No, I did it on purpose. I like to use functions for this kind of thing as it gives far more flexibility and makes it easier to make changes in the future.
__________________
Reply With Quote