• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] [vJASS]if/then/else do not work inside loop

Status
Not open for further replies.
I am not sure if
JASS:
e,Player(PLAYER_NEUTRAL_AGGRESSIVE)
does work correctly on a player that is an enemy against all players?
Why don't you use NEUTRAL_VICTIM instead?

Also, could you elaborate what you are doing in your map with ally state?
What is working in your loop?
Try to print error messages to see what works and what not (call BJDebugMsg("This works!")).

Finally, why not post this in Triggers&Scripts forum?
 

FLW

FLW

Level 2
Joined
Apr 17, 2009
Messages
19
PLAYER_NEUTRAL_AGGRESSIVE is ally of player 1-6
the alliances are well done.
the messages are placed.
the code is to longgggg :D but if u wanna check, here:

JASS:
please bitch
ps: i only want check if X units are in rect they will be teleported to loc 1 or loc 2(checking alliances)
 
Last edited:
Status
Not open for further replies.
Top