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
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
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.