Hello everyone once again it is me...
1- I am making a trigger for a dialog that permits the user to add and choose his attributes whenever he gains a level here is my code...
2- I am trying to make a trigger to mimic the behavior of traps in the level in WC III: TFT when Arthas is separated from Anub'arak in the dungeons (temple of the nuberians) but sadly i didn't achieve it, anyone have an idea (my damage is random and doesn't co-ordinate with the effects) in other words how to associate damage with the special effects made?
3- I am trying to make some sort of doodad to be floating in water, and that doodad should travel (on water) from region1 to region2.
a- how can i make a doodad float (i searched in object editor for the floating option and i didn't find anything..)
b- how can i order a doodad to move?
c- if that doodad is changed to a unit instead of a doodad, how can i make it float in water?
Thank you very much for your patience.
1- I am making a trigger for a dialog that permits the user to add and choose his attributes whenever he gains a level here is my code...
-
Number of Skills Per level
-
Events
- Unit - A unit owned by Player 1 (Red) Gains a level
- Conditions
-
Actions
- Set No_Skills_Clicked = (No_Skills_Clicked + 4)
-
Events
-
Number of Skills
-
Events
- Dialog - A dialog button is clicked for Skills_Dialog
- Conditions
-
Actions
- Set No_Skills_Clicked = (No_Skills_Clicked - 1)
- Set No_Skills = No_Skills_Clicked
-
Events
-
Skill Dialog
-
Events
- Unit - A unit owned by Player 1 (Red) Gains a level
- Conditions
-
Actions
- Dialog - Clear Skills_Dialog
- Dialog - Change the title of Skills_Dialog to (Please assign your attribute points remaining: + (String(No_Skills)))
- Dialog - Create a dialog button for Skills_Dialog labelled Agility
- Set Agility = (Last created dialog Button)
- Dialog - Create a dialog button for Skills_Dialog labelled Strength
- Set Strength = (Last created dialog Button)
- Dialog - Create a dialog button for Skills_Dialog labelled Intelligence
- Set Intelligence = (Last created dialog Button)
- Dialog - Show Skills_Dialog for Player 1 (Red)
-
Events
-
Agility Button
-
Events
- Dialog - A dialog button is clicked for Skills_Dialog
-
Conditions
- (Clicked dialog button) Equal to Agility
-
Actions
- Hero - Modify Agility of (Triggering unit): Add 1
-
Events
2- I am trying to make a trigger to mimic the behavior of traps in the level in WC III: TFT when Arthas is separated from Anub'arak in the dungeons (temple of the nuberians) but sadly i didn't achieve it, anyone have an idea (my damage is random and doesn't co-ordinate with the effects) in other words how to associate damage with the special effects made?
3- I am trying to make some sort of doodad to be floating in water, and that doodad should travel (on water) from region1 to region2.
a- how can i make a doodad float (i searched in object editor for the floating option and i didn't find anything..)
b- how can i order a doodad to move?
c- if that doodad is changed to a unit instead of a doodad, how can i make it float in water?
Thank you very much for your patience.