- Joined
- Aug 4, 2006
- Messages
- 357
Hey everyone. I just started learning JASS today so forgive me if this is a dumb question. Why won't this line of code compile properly?
"set udg_allPlayers = GetPlayersMatching(Condition(GetPlayerController(GetFilterPlayer()) == MAP_CONTROL_USER AND GetPlayerSlotState(GetFilterPlayer()) == PLAYER_SLOT_STATE_PLAYING))"
In World Editor, it says "Expected ' ". Using JassCraft says there's a syntax error, along with 12 "Statement outside of function" errors.
Also, what is the difference between a boolean and boolexpr?
Thanks,
"set udg_allPlayers = GetPlayersMatching(Condition(GetPlayerController(GetFilterPlayer()) == MAP_CONTROL_USER AND GetPlayerSlotState(GetFilterPlayer()) == PLAYER_SLOT_STATE_PLAYING))"
In World Editor, it says "Expected ' ". Using JassCraft says there's a syntax error, along with 12 "Statement outside of function" errors.
Also, what is the difference between a boolean and boolexpr?
Thanks,