Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-15-2010, 11:14 PM
Templus
Sarnak
 
Join Date: Oct 2010
Location: NYC
Posts: 39
Default

errrr .. yeah it is $glob .. I just messed up retyping it in the post here

the problem is with using $instanceID as part of the variable name
Reply With Quote
  #2  
Old 11-16-2010, 12:06 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Quote:
Originally Posted by Templus View Post
errrr .. yeah it is $glob .. I just messed up retyping it in the post here

the problem is with using $instanceID as part of the variable name
Situationally, what exactly are you trying to achieve. I know you are trying to set the race of something based on instance but could you give a little more detail and perhaps there would be a better way to approach it. Is it one npc? multiple npcs? Reason behind it?
Reply With Quote
  #3  
Old 11-16-2010, 02:40 AM
Templus
Sarnak
 
Join Date: Oct 2010
Location: NYC
Posts: 39
Default

noob enters the world, goes to the loading zone, is immediately transferred to a new private instance created for them where they are welcomed by 2 NPCs that are of their same race.. they then go through kind of a trial.. so it could be annoying to write X different zone instances for each race.. unless there's some way to automate it / copy 1 instance to several..

so using global variables.. I figure that when I create the instance I save out the user's race and after I spawn the 2 welcoming NPCs I set their races based on the global variable I saved when creating the instance.. it should work? except I can't seem to save/read these global variables =\
Reply With Quote
Reply

Thread Tools
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 -4. The time now is 02:31 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3