- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
Why doesn't this line work?
NPC_CONS = 300 and the point value of FARMER_ID is equal to 304. But when I call FARMER_INDEX, it is equal to -300. Why can't I make a global like this...
Why doesn't this line work?
JASS:
constant integer FARMER_INDEX = GetUnitPointValueByType(FARMER_ID) - NPC_CONS
NPC_CONS = 300 and the point value of FARMER_ID is equal to 304. But when I call FARMER_INDEX, it is equal to -300. Why can't I make a global like this...