maybe someone can help me with script import? inserted script to custom\BossRespawn\BossRespawn.java and don't know how to add its import in __init__ . thanks in advance
__all__ = [
'3995_echo',
'4000_ShadowWeapons',
'7000_HeroItems',
'8000_RaidbossInfo',
'6050_KetraOrcSupport',
'6051_VarkaSilenosSupport',
'BossRespawn' <<--- ???
]
print ""
print "importing custom data ..."
for name in __all__ :
try :
__import__('data.scripts.custom.'+name,globals(), locals(), ['__init__'], -1) <<--- ???
except:
print "failed to import quest : ",name
print "... done"
print ""
Question
BlackJack25
Hy all,
maybe someone can help me with script import? inserted script to custom\BossRespawn\BossRespawn.java and don't know how to add its import in __init__ . thanks in advance
2 answers to this question
Recommended Posts