Flare
Stops copies me!
- Reaction score
- 662
Sorry for my pertinacity but I don't like beeing told that I couldn't count.
As far as I know 12>12 is a false statement. Therefore kc_init regsiters a levelup event forJASS:constant integer PLAYER_NEUTRAL_AGGRESSIVE = 12
I don't argue whether playerslots start with 0 or 1 and I don't say its false the way it is I just wanted to point it out because I find it strange to create textmessages for computer players.
What are you talking about... whoever said you couldn't count? Please explain where that 12 is coming from
JASS:
private function Init takes nothing returns nothing
local integer i = 0
call FlushGameCache(InitGameCache("GameCache.x"))
set GC = InitGameCache("GameCache.x")
loop
exitwhen i > 11
call TriggerRegisterPlayerUnitEvent(trg,Player(i), EVENT_PLAYER_UNIT_PICKUP_ITEM, Condition(function FailSafe))
set i = i + 1
endloop
call TriggerAddCondition(trg, Condition(function Cond))
call TriggerAddAction(trg, function AddAbil)
endfunction
Unless I'm blind, there's no 12 there, or in the rest of the code
EDIT: Just copied the code into JASScraft and searched for 12, and it found nothing