C
chienne
Guest
Ok - changed it to 9.
DireWolf[Player Number of (Triggering Player)] Equal to True
Set DireWolf[Player Number of (Triggering Player)] = False
Good thing I use The GUI then. lolRabarber said:I bet zero doesn't work for everyone. I bet it messes up in JASS.
Starting Up
Events
Map initialization
Conditions
Actions
Game - Display to (All players) for 20.00 seconds the text: There are no teams....
Set DireWolf[9] = True
You set the one for the wolf to (8) didn't you? and Rab i DID say The Gui!chienne said:Hokay... 0.0.. so..
Code:Starting Up Events Map initialization Conditions Actions Game - Display to (All players) for 20.00 seconds the text: There are no teams.... Set DireWolf[9] = True
Annnddd...
By the unit isn't created, does that mean that's how the code is? Because I need it to be created o.o.
For each Integer A between 1 and 9 do
Set DireWolf[Integer A] = True
Starting Up
Events
Map initialization
Conditions
Actions
Game - Display to (All players) for 20.00 seconds the text: There are no teams....
For each (Integer A) from 1 to 9, do (Set DireWolf[(Integer A)] = True)
1-9 is fine it'll do the same thing.chienne said:Aha.. so.. now it's..
Code:Starting Up Events Map initialization Conditions Actions Game - Display to (All players) for 20.00 seconds the text: There are no teams.... For each (Integer A) from 1 to 9, do (Set DireWolf[(Integer A)] = True)
But, in reference to Bacon, am I supposed to change it to 1-8 or leave it at 9?
For your first question: Yes, you would. Just copy and paste that trigger and use it for your next unit.chienne said:Ok, so that little Trigger is done. (I'm taking this one thing at a time as to do everything right and not get confused, sorry ^-^)
Now for the Selecting Species script. And, I have a few questions..
-Since there are 5 possible species to select (and 1 to evolve into), would I be repeating the Selecting Species trigger as 4 other triggers?
-How do I do it so that since text comes up and displays what to type to choose your hero/wolf species, when you type in the command the wolf appears (since there is nothing there to begin with).
Selecting Species
Events
Player - Player 1 (Red) types a chat message containing -dire as An exact match
Conditions
DireWolf[(Player number of (Triggering player))] Equal to True
Actions
Unit - Create 1 Dire Wolf for (Triggering player) at (Player 1 (Red) start location) facing 315.00 degrees
Set DireWolf[(Player number of (Triggering player))] = False
Selecting Species
Events
Player - Player 1 (Red) types a chat message containing -dire as An exact match
Conditions
DireWolf[(Player number of (Triggering player))] Equal to True
Actions
Unit - Create 1 Dire Wolf for (Triggering player) at (Player 1 (Red) start location) facing 315.00 degrees
Set DireWolf[(Player number of (Triggering player))] = False
Selecting Species
Events
Player - Player 1 (Red) types a chat message containing -dire as An exact match
Conditions
DireWolf[(Player number of (Triggering player))] Equal to True
Actions
Unit - Create 1 Dire Wolf for (Triggering player) at ((Triggering player) start location) facing 315.00 degrees
Set DireWolf[(Player number of (Triggering player))] = False
Player - Player 1 (Red) types a chat message containing -dire as An exact
Yupchienne said:Hmmm... ok here..
Code:Selecting Species Events Player - Player 1 (Red) types a chat message containing -dire as An exact match Conditions DireWolf[(Player number of (Triggering player))] Equal to True Actions Unit - Create 1 Dire Wolf for (Triggering player) at ((Triggering player) start location) facing 315.00 degrees Set DireWolf[(Player number of (Triggering player))] = False
Under events, should I repeat..
Code:Player - Player 1 (Red) types a chat message containing -dire as An exact
Except with player 2, player 3, player 4, etc etc?
For each (Integer A) from 1 to 9, do (Set DireWolf[(Integer A)] = True)
Starting Up
Events
Map initialization
Conditions
Actions
Game - Display to (All players) for 20.00 seconds the text: There are no teams....
For each (Integer A) from 1 to 9, do (Set DireWolf[(Integer A)] = True)
For each (Integer A) from 1 to 9, do (Set TimberWolf[(Integer A)] = True)
For each (Integer A) from 1 to 9, do (Set SnowWolf[(Integer A)] = True)
For each (Integer A) from 1 to 9, do (Set TundraWolf[(Integer A)] = True)
For each (Integer A) from 1 to 9, do (Set Whelp[(Integer A)] = True)