- Joined
- Jun 18, 2010
- Messages
- 33
Hello, I need a trigger that randomizes one voice and one hero, and then adds them together. For ex. Voice 2 goes to Hero5. All 5 sounds and 5 Heroes must join together. No same speech to 2 diffrend heroes, just one voice to one hero! But the Voice is randomized as Hero too.
Heres a example how it could go:
Voice1 = Hero4
Voice4 = Hero2
Voice5 = Hero3
Voice2 = Hero1
Voice3 = Hero5
Here's my fail trigger:
Heres a example how it could go:
Voice1 = Hero4
Voice4 = Hero2
Voice5 = Hero3
Voice2 = Hero1
Voice3 = Hero5
Here's my fail trigger:
-
CineSpeechInteger
-
Events
-
Conditions
-
CineSpeecherRunned Not equal to 5
-
-
Actions
-
Set Integer = (Random integer number between 1 and 5)
-
Trigger - Run CineSpeech <gen> (checking conditions)
-
-
-
CineSpeech
-
Events
-
Conditions
-
Actions
-
If (CineSpeecherUsed[1] Equal to Integer) then do (Trigger - Run CineSpeechInteger <gen> (checking conditions)) else do (Do nothing)
-
If (CineSpeecherUsed[1] Equal to Integer) then do (Skip remaining actions) else do (Do nothing)
-
If (CineSpeecherUsed[2] Equal to Integer) then do (Trigger - Run CineSpeechInteger <gen> (checking conditions)) else do (Do nothing)
-
If (CineSpeecherUsed[2] Equal to Integer) then do (Skip remaining actions) else do (Do nothing)
-
If (CineSpeecherUsed[3] Equal to Integer) then do (Trigger - Run CineSpeechInteger <gen> (checking conditions)) else do (Do nothing)
-
If (CineSpeecherUsed[3] Equal to Integer) then do (Skip remaining actions) else do (Do nothing)
-
If (CineSpeecherUsed[4] Equal to Integer) then do (Trigger - Run CineSpeechInteger <gen> (checking conditions)) else do (Do nothing)
-
If (CineSpeecherUsed[4] Equal to Integer) then do (Skip remaining actions) else do (Do nothing)
-
If (CineSpeecherUsed[5] Equal to Integer) then do (Trigger - Run CineSpeechInteger <gen> (checking conditions)) else do (Do nothing)
-
If (CineSpeecherUsed[5] Equal to Integer) then do (Skip remaining actions) else do (Do nothing)
-
Set CineSpeecherRunned = (CineSpeecherRunned + 1)
-
Set CineSpeecherUsed[CineSpeecherRunned] = Integer
-
Set Hero[Integer] = CineSpeecher[CineSpeecherRunned]
-
Trigger - Run CineSpeechInteger <gen> (checking conditions)
-
-