skillid trouble!
Posted: Mon Nov 28, 2011 4:06 pm
hey guys im having trouble with pol 99 declaring a "SKILLID_(skill)", is their a different way to define "for skillid := 0 to SKILLID_HIGHEST" for pol core 99?
the failing function:
ecompile error:
if anyone is able to show me how to fix this, please reply 
the failing function:
Code: Select all
function LoadSkillArrayByValue (character)
var dummy_dict := dictionary;
for skillid := 0 to SKILLID_HIGHEST
if (skillwin_override_GetSkillName(skillid) != "Non
endfore")
dummy_dict.insert (skillid, GetSortValue (character, skillid));
endif
ecompile error:
Code: Select all
Compiling: c:/Shard/Broken Blade/scripts/misc/skillwin.src
Variable SKILLID_HIGHEST has not been declared on line 214.
Error compiling statement at c:\Shard\Broken Blade\scripts\misc\skillwin.src, Line 214
Error in function 'LoadSkillArrayByValue', File: c:\Shard\Broken Blade\scripts\misc\skillwin.src, Line 214
Error in function 'LoadSkillArrayByValue'.
File: c:\Shard\Broken Blade\scripts\misc\skillwin.src, Line 214