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?
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?