View Single Post
  #15  
Old 06-23-2005, 05:31 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Is it possible to return a variable name with a function to be used with an opperator?
Function Script:
NPC Code:
return makevar("clientr." @ this.flag @ "item_" @ getitemvar(archetype,"count"))[0];


NPC Code:
getitemvar(archetype,"qty") += 2;


Doesn't work for me in the way I would like.

Also it would be nice if GS2 was only activated in a script by header like Kaimetsu has stated:
Quote:
Originally Posted by Kaimetsu
I'd personally like a system where the two languages are completely distinct, and the scripter announces that he wants to use GS2 by use of a special header. Like, one of those //#HEADER things.
Though I believe it best if this feature was available by server option. False at default.
__________________
Reply With Quote