Thread: Functions.
View Single Post
  #4  
Old 03-17-2005, 05:17 AM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
FOr normal gscript, callnpc can be used (maybe not directly, but I'mn sure it can) to call another npc's function, perhaps through something like:

NPC Code:

callnpc index,call,;


and then in the other npc (recieving the command to call the function):
NPC Code:

if (call) funcname();




I used something similar to that in a summoning system.

And Skyld, take that quote of me out of your sig please....
__________________
BEst Insult ever: If I had a dollar for every brain you DIDNT have, i'd have one dollar!
Reply With Quote