Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
ExtendedVersion.w3x
Variables
Prefs
Off
Examples
DialogueSecond
DialogueFirst
ChooseDialogue1
DialogueConfirmed1
ChooseDialogue2
DialogueConfirmed2
Tips
Tips
DialogueSystemCore
SwapDown
SwapUp
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code except Custom Script Item. Custom Script Item will merge into map script after globals variables declaration with the list order in trigger view.
Name
Type
is_array
initial_value
AnswerVariant
integer
No
ChooseDialogue
trigger
No
Consequences
trigger
No
Off
Events
Map initialization
Conditions
Actions
Trigger - Turn off ChooseDialogue1 <gen>
Trigger - Turn off DialogueConfirmed1 <gen>
Trigger - Turn off ChooseDialogue2 <gen>
Trigger - Turn off DialogueConfirmed2 <gen>
Trigger - Turn off SwapDown <gen>
Trigger - Turn off SwapUp <gen>
DialogueSecond
Events
Unit - A unit comes within 180.00 of Rifleman 0003 <gen>
Conditions
Actions
Trigger - Turn off (This trigger)
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Enable user control for (All players) .
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Footman 0000 <gen> , offset by ( 0 , 0 ) using Default rotation
Set Variable Set ChooseDialogue = ChooseDialogue2 <gen>
Set Variable Set Consequences = DialogueConfirmed2 <gen>
Set Variable Set AnswerVariant = "1"
Trigger - Turn on ChooseDialogue
Trigger - Turn on Consequences
Trigger - Turn on SwapDown <gen>
Trigger - Turn on SwapUp <gen>
DialogueFirst
Events
Unit - A unit comes within 180.00 of Priest 0001 <gen>
Conditions
Actions
Trigger - Turn off (This trigger)
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Enable user control for (All players) .
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Camera - Lock camera target for Player 1 (Red) to Footman 0000 <gen> , offset by ( 0 , 0 ) using Default rotation
Set Variable Set ChooseDialogue = ChooseDialogue1 <gen>
Set Variable Set Consequences = DialogueConfirmed1 <gen>
Set Variable Set AnswerVariant = "1"
Trigger - Turn on ChooseDialogue
Trigger - Turn on Consequences
Trigger - Turn on SwapDown <gen>
Trigger - Turn on SwapUp <gen>
ChooseDialogue1
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Equal to 1
Then - Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from Footman 0000 <gen> named NeoFaustian : Play No sound and display 1 bla bla? <|cff8080802 Bla bla|cff8080803 Wow it's so cool!|r . Modify duration: Add 800.00 seconds and Wait
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Equal to 2
Then - Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from Footman 0000 <gen> named NeoFaustian : Play No sound and display |cff8080801 bla bla?|r2 Bla bla <|cff8080803 Wow it's so cool!|r . Modify duration: Add 800.00 seconds and Wait
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Equal to 3
Then - Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from Footman 0000 <gen> named NeoFaustian : Play No sound and display |cff8080801 bla bla?|cff8080802 Bla bla|r3 Wow it's so cool! < . Modify duration: Add 800.00 seconds and Wait
Else - Actions
DialogueConfirmed1
Events
Player - Player 1 (Red) Presses the Right Arrow key
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Greater than or equal to 3
Then - Actions
Trigger - Turn off ChooseDialogue
Trigger - Turn off SwapUp <gen>
Trigger - Turn off SwapDown <gen>
Trigger - Turn off Consequences
Cinematic - Send transmission to (All players) from Priest 0001 <gen> named Mage Nificent : Play No sound and display Maybe... . Modify duration: Add 0 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Camera - Reset camera for Player 1 (Red) to standard game-view over 5.00 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Equal to 2
Then - Actions
Trigger - Turn off ChooseDialogue
Trigger - Turn off SwapUp <gen>
Trigger - Turn off SwapDown <gen>
Trigger - Turn off Consequences
Cinematic - Send transmission to (All players) from Priest 0001 <gen> named Mage Nificent : Play No sound and display Never! . Modify duration: Add 0 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Camera - Reset camera for Player 1 (Red) to standard game-view over 5.00 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Less than or equal to 1
Then - Actions
Trigger - Turn off ChooseDialogue
Trigger - Turn off SwapDown <gen>
Trigger - Turn off SwapUp <gen>
Trigger - Turn off Consequences
Cinematic - Send transmission to (All players) from Priest 0001 <gen> named Mage Nificent : Play No sound and display What's wrong with you footman? . Modify duration: Add 0 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Camera - Reset camera for Player 1 (Red) to standard game-view over 5.00 seconds
Else - Actions
ChooseDialogue2
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Equal to 1
Then - Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from Footman 0000 <gen> named NeoFaustian : Play No sound and display 1 give me a guide! <|cff8080802 how are you?|cff8080803 this map version worst than comfort!|r . Modify duration: Add 800.00 seconds and Wait
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Equal to 2
Then - Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from Footman 0000 <gen> named NeoFaustian : Play No sound and display |cff8080801 give me a guide!|r2 how are you? <|cff8080803 this map version worst than comfort!|r . Modify duration: Add 800.00 seconds and Wait
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Equal to 3
Then - Actions
Trigger - Turn off (This trigger)
Cinematic - Send transmission to (All players) from Footman 0000 <gen> named NeoFaustian : Play No sound and display |cff8080801 give me a guide! 2 how are you?|r3 this map version worst than comfort! < . Modify duration: Add 800.00 seconds and Wait
Else - Actions
DialogueConfirmed2
Events
Player - Player 1 (Red) Presses the Right Arrow key
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Greater than or equal to 3
Then - Actions
Trigger - Turn off ChooseDialogue
Trigger - Turn off SwapUp <gen>
Trigger - Turn off SwapDown <gen>
Trigger - Turn off Consequences
Cinematic - Send transmission to (All players) from Rifleman 0003 <gen> named Smart Man : Play No sound and display I don't know . Modify duration: Add 0 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Camera - Reset camera for Player 1 (Red) to standard game-view over 5.00 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Equal to 2
Then - Actions
Trigger - Turn off ChooseDialogue
Trigger - Turn off SwapUp <gen>
Trigger - Turn off SwapDown <gen>
Trigger - Turn off Consequences
Cinematic - Send transmission to (All players) from Rifleman 0003 <gen> named Smart Man : Play No sound and display I wanna 5 stars rating . Modify duration: Add 0 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Camera - Reset camera for Player 1 (Red) to standard game-view over 5.00 seconds
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Less than or equal to 1
Then - Actions
Trigger - Turn off ChooseDialogue
Trigger - Turn off SwapDown <gen>
Trigger - Turn off SwapUp <gen>
Trigger - Turn off Consequences
Cinematic - Send transmission to (All players) from Rifleman 0003 <gen> named Smart Man : Play No sound and display First step it's copy ChooseDialogue1,DialogueFirst,DialogueConfirmed1. . Modify duration: Add 0 seconds and Wait
Cinematic - Send transmission to (All players) from Rifleman 0003 <gen> named Smart Man : Play No sound and display In DialogueFirst choose:set chooseDialogue=your dialogue with variants . Modify duration: Add 0 seconds and Wait
Cinematic - Send transmission to (All players) from Rifleman 0003 <gen> named Smart Man : Play No sound and display set Consequences=your dialogue with answers . Modify duration: Add 0 seconds and Wait
Cinematic - Send transmission to (All players) from Rifleman 0003 <gen> named Smart Man : Play No sound and display then you can choose your dialogues names as you want and change text to needed. . Modify duration: Add 0 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Camera - Reset camera for Player 1 (Red) to standard game-view over 5.00 seconds
Else - Actions
Tips
Events
Time - Elapsed game time is 5 seconds
Conditions
Actions
Game - Display to (All players) the text: Go to the rifleman or priest to speak with him
Wait 4.00 seconds
Game - Display to (All players) the text: to change dialogue press arrow down or arrow upto confirm choose use arrow right with love your NeoFaustian ^_^
SwapDown
Events
Player - Player 1 (Red) Presses the Down Arrow key
Conditions
Actions
Set Variable Set AnswerVariant = (AnswerVariant + 1)
Trigger - Turn on ChooseDialogue
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
AnswerVariant Greater than 3
Then - Actions
Set Variable Set AnswerVariant = "3"
Else - Actions
SwapUp
Events
Player - Player 1 (Red) Presses the Up Arrow key
Conditions
Actions
Set Variable Set AnswerVariant = (AnswerVariant - 1)
Trigger - Turn on ChooseDialogue
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.