- Joined
- Jan 6, 2008
- Messages
- 2,627
Hi, i got these triggers, the PLAYER_CONTROLLER is the selected thing my selection system creates, the problem is, it wont load.
-
Ok
-
Events
- Dialog - A dialog button is clicked for Dialog
-
Conditions
- (Clicked dialog button) Equal to Dialog_BTN[2]
-
Actions
- -------- Male --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Name2 <gen> is on) Equal to True
-
Then - Actions
- -------- If condition shall be Name_String equal to True --------
- -------- Imperial --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Imperial
-
Then - Actions
- Unit - Create 1 Imperial for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Imperial for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- -------- Khajiit --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Khajiit
-
Then - Actions
- Unit - Create 1 Khajiit for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Khajiit for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- -------- Orc --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Orc
-
Then - Actions
- Unit - Create 1 Orc for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Orc for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- -------- Dark Elf --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Dark Elf
-
Then - Actions
- Unit - Create 1 Dark Elf for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Dark Elf for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- -------- Redguard --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Redguard
-
Then - Actions
- Unit - Create 1 Redguard for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Redguard for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
- -------- Female --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Name2 <gen> is on) Equal to True
-
Then - Actions
- -------- If condition shall be Name_String equal to True --------
- -------- Imperial --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Imperial
-
Then - Actions
- Unit - Create 1 Imperial for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Imperial for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- -------- Khajiit --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Khajiit
-
Then - Actions
- Unit - Create 1 Khajiit for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Khajiit for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- -------- Orc --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Orc
-
Then - Actions
- Unit - Create 1 Orc for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Orc for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- -------- Dark Elf --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Dark Elf
-
Then - Actions
- Unit - Create 1 Dark Elf for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Dark Elf for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- -------- Redguard --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of Unit) Equal to Redguard
-
Then - Actions
- Unit - Create 1 Redguard for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER = (Last created unit)
- Unit - Create 1 Redguard for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
- Set PLAYER_CONTROLLER2 = (Last created unit)
- Camera - Pan camera for Player 1 (Red) to (Position of PLAYER_CONTROLLER) over 1.00 seconds
- Selection - Select PLAYER_CONTROLLER for Player 1 (Red)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
- Selection - Add PLAYER_CONTROLLER to selection
- Game Cache - Create a game cache from Selection System.w3x
- Game Cache - Save Game_Cache
- Game Cache - Store PLAYER_CONTROLLER as Custom_Name of Category in Game_Cache
- Game Cache - Store PLAYER_CONTROLLER2 as Custom_Name of Category in Game_Cache
- Game - Set campaign to Human Campaign
- Game - Set the next level to Maps\Oblivion Map.w3x
- Game - Victory Player 1 (Red) (Skip dialogs, Skip scores)
-
Events
-
Ini
-
Events
- Map initialization
- Conditions
-
Actions
- Game Cache - Restore PLAYER_CONTROLLER of Category from Game_Cache for Player 1 (Red) at (Center of (Playable map area)) facing (Position of (Triggering unit))
- Game Cache - Restore PLAYER_CONTROLLER2 of Category from Game_Cache for Player 1 (Red) at (Center of (Playable map area)) facing (Position of (Triggering unit))
- Game Cache - Store PLAYER_CONTROLLER as Custom_Name of Category in Game_Cache
-
Events