Hello guys, i'm just trying to use trigger to this.
When u use map (item) then will show up a dialog with options of "cities" and it get pinged where the city is.
Here are the triggers , could someone help me please?
When u use map (item) then will show up a dialog with options of "cities" and it get pinged where the city is.
Here are the triggers , could someone help me please?
-
dialog loop
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
- Dialog - Clear oznaceni_mesta
- Dialog - Change the title of oznaceni_mesta to Town list
- Dialog - Create a dialog button for oznaceni_mesta labelled Ivanovo
- Set oznaceni_mesta_tlacitko[1] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Rybinsk
- Set oznaceni_mesta_tlacitko[2] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Niznij Novogrod
- Set oznaceni_mesta_tlacitko[3] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Nachodka
- Set oznaceni_mesta_tlacitko[4] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Pryluk Skalka
- Set oznaceni_mesta_tlacitko[5] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Staryj Elektrostai
- Set oznaceni_mesta_tlacitko[6] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Novy Elektrostai
- Set oznaceni_mesta_tlacitko[7] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Berezniky
- Set oznaceni_mesta_tlacitko[8] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Tomsk
- Set oznaceni_mesta_tlacitko[9] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Pushkino
- Set oznaceni_mesta_tlacitko[10] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Jelec
- Set oznaceni_mesta_tlacitko[11] = (Last created dialog Button)
- Dialog - Create a dialog button for oznaceni_mesta labelled Krasnodar
- Set oznaceni_mesta_tlacitko[12] = (Last created dialog Button)
- Dialog - Show oznaceni_mesta for (Owner of (Triggering unit))
- Trigger - Turn off (This trigger)
-
Events
-
ma mapu
-
Events
- Unit - A unit Acquires an item
-
Conditions
- (Item-type of (Item being manipulated)) Equal to Map
- ((Owner of (Triggering unit)) controller) Equal to User
-
Actions
- Hero - Set (Triggering unit) Hero-level to 2, Hide level-up graphics
- Hero - Learn skill for (Triggering unit): Map
- Set temp_reg = (Playable map area)
- Visibility - Create an initially Enabled visibility modifier for (Owner of (Triggering unit)) emitting Fog of war across temp_reg
- Custom script: call RemoveRect(udg_temp_reg)
-
Events
-
tlacitka KopĂrovat
-
Events
- Dialog - A dialog button is clicked for oznaceni_mesta
- Conditions
-
Actions
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equal to oznaceni_mesta_tlacitko[(Integer A)]
-
Then - Actions
- Cinematic - Ping minimap for (Player group(hraci[(Player number of (Triggering player))])) at (Center of oblastix[(Integer A)]) for 1.00 seconds, using a Simple ping of color (100.00%, 100.00%, 100.00%)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 12, do (Actions)
-
Events
-
Untitled Trigger 001 KopĂrovat
-
Events
- Unit - A unit Uses an item
-
Conditions
- ((Triggering unit) has an item of type Map) Equal to True
-
Actions
- Trigger - Turn on dialog loop <gen>
-
Events
Last edited: