- Joined
- Feb 19, 2008
- Messages
- 89
Hi, in my map i trying to initialize only picked heros trigerred abilities.
(my map have over 300 trigerred abilities, i think it can decrease loading time and map initial handles significatively.)
but the 2 major problens is:
How i can declare this structs?(i don't know sintax
)
ex:
struct Heros extends array
integer id
string icon
endstruct
and, how to enable each hero spells init functions?
ex:
code spell1
code spell2
or
method init takes nothing returns nothing
call spell1()
cal spell2()
endmethod
ps: sorry if have english mistakes, my english isen't good, but i trying to improve, and thanks for any help.
(my map have over 300 trigerred abilities, i think it can decrease loading time and map initial handles significatively.)
but the 2 major problens is:
How i can declare this structs?(i don't know sintax

ex:
struct Heros extends array
integer id
string icon
endstruct
and, how to enable each hero spells init functions?
ex:
code spell1
code spell2
or
method init takes nothing returns nothing
call spell1()
cal spell2()
endmethod
ps: sorry if have english mistakes, my english isen't good, but i trying to improve, and thanks for any help.