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

Is it possible to call code from another proifile when questing?

Bengan12

Well-Known Member
Joined
Feb 24, 2011
Messages
1,967
Reaction score
31
For example in PHP you can call in code from an other file by entering the file name in your code but then continue the same php file without really switching files :D

Or is this only possible if it is a costum behavior? not xml files?

the thought was if this was possible there could be a bunch of xml files that transports the character here and there but no need of writing them in the questing profile just load them if they need to transport, without entering a code in the transport xml to switch back to the original profile.
 
AFAIK HB compiles on startup ALL the cs files, this means that you should theoretically call any static variable / public static method of any cs file, namespace::variable_or_method
 
Back
Top