Thread: draw beam
View Single Post
Re: draw beam
Old
  (#9)
Jerry
Member
 
Jerry's Avatar
 
Status: Offline
Posts: 10
Join Date: Dec 2004
Location: Woerden, The Netherlands
Default Re: draw beam - 02-01-2005

Quote:
Originally Posted by Cheeseh
Actually I think I#ve got it, I think you've got to get the Server Effects Interface :

IEffects *g_pEffects = NULL;

..

g_pEffects = (IEffects* )interfaceFactory(IEFFECTS_INTERFACE_VERSION,NULL) ;

...

g_pEffects->Beam(..,..);

Haven't tried it yet though but it compiles okay

Edit:

Arrrrgh.. Okay the interfaceFactory returns NULL.. :@
Don't use interfaceFactory.
Use this instead:

Code:
 effects = (IEffects*)gameServerFactory(IEFFECTS_INTERFACE_VERSION, NULL);


Imagination is more important than knowledge. Knowledge is limited - Albert Einstein
  
Reply With Quote