Hello people, i've made this trigger that suposedly plays a music list, i've made it following this thread:
(Thanks PurplePoot I guess )
However in gameplay this seems to do nothing
(Thanks PurplePoot I guess )
However in gameplay this seems to do nothing
-
Untitled Trigger 003
-
Events
- Map initialization
- Conditions
-
Actions
- Set Music_Lenght[1] = 135.00
- Set Music_Lenght[2] = 139.00
- Set Music_Lenght[3] = 146.00
- Set Music_Lenght[4] = 158.00
-
Events
-
Timer
-
Events
- Time - T expires
- Conditions
-
Actions
- Set tempInt = (Random integer number between 1 and 4)
- Countdown Timer - Start T as a One-shot timer that will expire in Music_Lenght[tempInt] seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- tempInt Equal to 1
-
Then - Actions
- Sound - Musicnr1 <gen>
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- tempInt Equal to 2
-
Then - Actions
- Sound - Musicnr2 <gen>
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- tempInt Equal to 3
-
Then - Actions
- Sound - Musicnr3 <gen>
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- tempInt Equal to 4
-
Then - Actions
- Sound - Musicnr4 <gen>
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Events
Last edited: