Quote:
Originally Posted by Jiroxys7
Why can't Stefan allow triggerclient and triggerserver in classes anyway? 
This is giving me a headache..
|
You are talking about classes like they are something that they aren't. A class in GScript is essentially an include; you can join a class to a weapon, in which case the class code will work like it's in a weapon, or you can join a class to an NPC, in which case the class code will work like it's in an NPC.
When joining to a weapon you can triggerclient and triggerserver normally, even from inside the class (like
triggerserver("gui", this.name, …)). When joining to an NPC of some kind you probably want more to send triggeractions onto the NPC's coordinates.