Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8  
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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.