What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Quest Behaviour] LoadProfile

exemplar

New Member
Joined
Mar 16, 2010
Messages
167
Reaction score
32
Loads another profile from the same directory, I've used this to chain profiles so I don't end up with massive files.

Example,
CustomBehavior File="LoadProfile" Profile="Profile2.xml" Remember="True"

Usage,
- You could have a central file called QuestHub.xml or something, which checks conditions and farms out to sub profiles based on if conditions or whatever.
- Have a starting profile (ie, level 1-5) which then calls the next profile at the end (ie, 6-10), etc etc

Notes,
- Remember tag is optional, basically this means if Remember = true next time you start hb it will start with this profile. Handy if you have a central profile that farms out to sub profiles. Default is false.
- Don't need to specify a directory, it loads the profile from the same directory the current profile is loaded in.
- That's all I can think of.
 

Attachments

This is fantastic. Is there any way to unload a profile? The reason I ask is that it would be nice to be able to create profiles that traverse continents. Right now all vendor and mailbox coordinates have XYZ values but no ZoneID or continent ID. It would be great to be able to load and unload vendors/mailboxes based on which continent we are on using this functionality.
 
This is fantastic. Is there any way to unload a profile? The reason I ask is that it would be nice to be able to create profiles that traverse continents. Right now all vendor and mailbox coordinates have XYZ values but no ZoneID or continent ID. It would be great to be able to load and unload vendors/mailboxes based on which continent we are on using this functionality.

Are you trying to say that when another profile is loaded using this cb, all the vendors/mailboxes from the previous profile stay in the memory?
 
Are you trying to say that when another profile is loaded using this cb, all the vendors/mailboxes from the previous profile stay in the memory?

That was my implication, yes. I haven't tested this - I've only looked through the code. Is my assumption not correct?
 
That was my implication, yes. I haven't tested this - I've only looked through the code. Is my assumption not correct?

I hope it's not. I'll test this soon

*EDITED* No, all the previous settings are properly unloaded on profile change. vendors/mailboxes also.
 
Last edited:
Back
Top