If anyone can help me on, with Areana options/spawning/in choosing map

I

Iknowcunfo

Guest
Ok, my first post was in a bad format. So i will put what i have down, so far. Start off with the variables.
Variable Name: Arena1************Variable Name: Arena2**********Variable Name: terrainChoiceOn
Variable Type: Camera Object*******Variable Type: Camera Object****Variable Type: Boolean
[checked in] Array Size:1**********[checked in] Array Size: 1*******[not checked in] Array
Initial Value: None***************Initial Value: None*************Initial Value: False

Variable Name: TerrainMax*********Variable Name: TerrainOnIndex
Variable Type: Integer************Variable Type: Integer
[not checked in] Array************[not checked in] Array
Initial Value: 0[Default]************Initial Value 0[Default]

That is all my variables that i have so far, i dont think i need any more.

My first Trigger:
Name: Arena Choose
*****Events
------Time - Elapsed game time is 0.01 seconds
*****Conditions
*****Actions
--------Set Arena1[1]=CamArena1 <gen>
--------Set Arena2[2]=CamArena2 <gen>
--------Set TerrainMax = 2

My Secound Trigger:
Name: Right Arrow Key
*****Events
------Player - Player 1 (Red) Presses the Right Arrow key
*****Conditions
------terrianChoiceOn Equal to True
*****Actions
------Set TerrainOnIndex= (TerrainOnIndex + 1)
------If (All Conditions are True) then do (Then Actions) Else do (Else actions)
-----------If - Conditions
------------TerrainOnIndex Greater than Terrain Max
-----------Then - Actions
------------Set TerrainOnIndex = 1
-----------Else-Actions
------Player Group - Pick every player in Player Group - Player 1 (Red) and do (Actions)
---------Loop - Actions
-------------Camera - Apply Arena1(TerrainOnIndex) fore (Picked player) over 0.00 Seconds

Can you plz tell me what i did wrong?
 
Reaction score
341
Use
Trigger:
  • tags, or
    • <div class="bbCodeBlock bbCodeBlock--screenLimited bbCodeBlock--code">
      • <div class="bbCodeBlock-title">
        • Code:
      • </div>
      • <div class="bbCodeBlock-content" dir="ltr">
        • <pre class="bbCodeCode" dir="ltr" data-xf-init="code-block" data-lang=""><code> tags.</code></pre>
      • </div>
    • </div>
 
I

Iknowcunfo

Guest
how do i put it in GUI? then cause i know this isnt jass.
 
I

Iknowcunfo

Guest
dude, i have no idea what you are saying? i am just started makeing maps like 3 days ago. what do you mean by
Trigger:
  • your trigger
? i am srry
 

Cokemonkey11

New Member
Reaction score
18
He means you post your trigger that you copied as text between the tags, which will make them color coded and easy to read like it looks in the trigger editor.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top