Ardenian
A
Ardenian
What is recommended, regarding trigger performance and efficiency and considering the Hive spell submission rules,
multiple Boolean variables or one integer variable with keep-in-mind-defined values you would need Boolean in theory.
Example:
Boolean_IsUnit[1] = true
Boolean_IsHero[1] = true
Boolean_IsAlive[1] = true
or
-> CustomInteger[1] = 1
Second example:
Boolean_IsUnit[1] = true
Boolean_IsHero[1] = true
Boolean_IsAlive[1] = false
or
-> CustomInteger[1] = 2
and so on.
Is it completely indifferent or/and does it depend on the use of these variables ?
I would have like over 10 Boolean variables in my system, even with considering that 'false' can be used to replace some Boolean which were 'true' if another one is 'false'.
multiple Boolean variables or one integer variable with keep-in-mind-defined values you would need Boolean in theory.
Example:
Boolean_IsUnit[1] = true
Boolean_IsHero[1] = true
Boolean_IsAlive[1] = true
or
-> CustomInteger[1] = 1
Second example:
Boolean_IsUnit[1] = true
Boolean_IsHero[1] = true
Boolean_IsAlive[1] = false
or
-> CustomInteger[1] = 2
and so on.
Is it completely indifferent or/and does it depend on the use of these variables ?
I would have like over 10 Boolean variables in my system, even with considering that 'false' can be used to replace some Boolean which were 'true' if another one is 'false'.