I've been working on a new idea for a map. It is hero based but with a completely different objective than any other map. Im looking for a data editor to make a few special unit abilities and a terrainer to spruce up my map. The mail layout and triggers are done. all its lacking are abilityes and polish. Pst if interested!
your condition is messed up. the condition has to apply to the event. so what fires the trigger is when any unit dies. that has nothing to do with the triggering player. an example of triggering player is when a played uses a dialog item or leaves the game. you haev to change that to the owner of the triggering unit also with the action in your second trigger. needs to say owner of triggerint unit. you also want to just modify the global variable, dont set it.
Your post is blurred for my tired eyes tbh. But what do you mean that unit have no room? Im talking about totally empty transport units, so how does it make any sense?
I was just saying to make sure the cargo unit you were loading cargo into was (1 capable of loading cargo and (2 had room for the unit that was being loaded. Sorry for the fd up post before.
@Azzaaer: Go
Dont know what yor doing wrong accept the unit your trying to make cargo in doesnt have room. here is a trigger i use in one of my maps that works very well.
Events
Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
Local Variables
Vehicle Cost = 0 <Integer>
Transport = No Unit <Unit>
Conditions
(Vehicle Select Dialog Menu[1] is visible for (Triggering player)) == true
(Triggering player) is in Team 01) == true
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Player (Triggering player) Minerals) >= Vehicle Cost[1]
Transport Blocked[1] == false
(Used dialog item) == SCV[1]
Then
Variable - Set Transport Blocked[1] = true
Variable - Set Vehicle Cost = Vehicle Cost[1]
Player - Modify player (Triggering player) Minerals: Subtract Vehicle Cost[1]
Unit - Create 1 Hercules (Lander, Flying) for player 13 at Vehicle Spawn Point Team 1 using default facing (No Options)
Variable - Set Transport = (Last created unit)
Unit - Create 1 Vehicle Type[1] as cargo in Transport
Unit - Set (Last created cargo unit) scale to (200.0%, 200.0%, 200.0%) of its original size
Unit - Order Transport to (Hercules - Land (Terran Buildings) targeting Vehicle Delivery Team 1) (After Existing Orders)
Unit - Order Transport to (Hercules - Unload All (Medivacs) targeting Vehicle Delivery Team 1) (After Existing Orders)
General - Wait 20.0 Game Time seconds
Unit - Order Transport to (Hercules - Lift Off (Terran Buildings)) (Replace Existing Orders)
General - Wait 5.0 Game Time seconds
Unit - Order Transport to ( Move targeting Vehicle Spawn Point Team 1) (After Existing Orders)
General - Wait 10.0 Game Time seconds
Unit - Remove Transport from the game
Variable - Set Transport Blocked[1] = false
I've been trying and trying to get this custom dialog to work. I don't want to give away too much about my map yet so maybe someone can just point me in the right direction. I'm trying to get a custom dialog with 6 unit selections to pop up when a unit enters an area. I've got the dialog worked out, the unit spawns when the dialog is clicked but if another played enters the same area the dialog for the 1st played buggs out and wont spawn a unit anymore and will not close when the unit leaves the area. I've looked everywhere for custom multiplayer dialog tutorials but cant find anything that will work for me. Im doing all this through 3 triggers. 1 trigger to spawn the dialog with 6 buttons when the unit entered the area. a 2nd to monitor dialog item used. and a 3 when player leaves area to clos the dialog. i need the dialog to work for 6 seperate players. whats the best way to make this work?
I know nothing about how functions or action definitions work so maybe thats my problem. also if anyone does know a good tutorial on action definitions and functions and how they work that would be great. Thanks! Sorry for the wall of text.
New hero style 6v6 jailbreak map idea looking for a good data/trigger editor. The project ATM is small but if the idea catches on we're hoping to make is a lot bigger. We have access to vent/map hosting servers. pm if you want more details.
0
I've been working on a new idea for a map. It is hero based but with a completely different objective than any other map. Im looking for a data editor to make a few special unit abilities and a terrainer to spruce up my map. The mail layout and triggers are done. all its lacking are abilityes and polish. Pst if interested!
0
@zISilenced: Go
your condition is messed up. the condition has to apply to the event. so what fires the trigger is when any unit dies. that has nothing to do with the triggering player. an example of triggering player is when a played uses a dialog item or leaves the game. you haev to change that to the owner of the triggering unit also with the action in your second trigger. needs to say owner of triggerint unit. you also want to just modify the global variable, dont set it.
0
@Apexplosive: Go
nah. its a simple trigger. on map start set alliance.
0
I was just saying to make sure the cargo unit you were loading cargo into was (1 capable of loading cargo and (2 had room for the unit that was being loaded. Sorry for the fd up post before.
0
Team 01 and Team 02 are both player groups set on map start.
0
@s3rius: Go Worked perfect. I just overlooked that. Thanks very much!
0
@Azzaaer: Go Dont know what yor doing wrong accept the unit your trying to make cargo in doesnt have room. here is a trigger i use in one of my maps that works very well.
Events Dialog - Any Dialog Item is used by Player Any Player with event type Clicked
Local Variables Vehicle Cost = 0 <Integer> Transport = No Unit <Unit>
Conditions (Vehicle Select Dialog Menu[1] is visible for (Triggering player)) == true (Triggering player) is in Team 01) == true
Actions
General - If (Conditions) then do (Actions) else do (Actions) If (Player (Triggering player) Minerals) >= Vehicle Cost[1] Transport Blocked[1] == false (Used dialog item) == SCV[1]
Then Variable - Set Transport Blocked[1] = true Variable - Set Vehicle Cost = Vehicle Cost[1] Player - Modify player (Triggering player) Minerals: Subtract Vehicle Cost[1] Unit - Create 1 Hercules (Lander, Flying) for player 13 at Vehicle Spawn Point Team 1 using default facing (No Options)
Variable - Set Transport = (Last created unit) Unit - Create 1 Vehicle Type[1] as cargo in Transport Unit - Set (Last created cargo unit) scale to (200.0%, 200.0%, 200.0%) of its original size Unit - Order Transport to (Hercules - Land (Terran Buildings) targeting Vehicle Delivery Team 1) (After Existing Orders) Unit - Order Transport to (Hercules - Unload All (Medivacs) targeting Vehicle Delivery Team 1) (After Existing Orders) General - Wait 20.0 Game Time seconds Unit - Order Transport to (Hercules - Lift Off (Terran Buildings)) (Replace Existing Orders) General - Wait 5.0 Game Time seconds Unit - Order Transport to ( Move targeting Vehicle Spawn Point Team 1) (After Existing Orders) General - Wait 10.0 Game Time seconds Unit - Remove Transport from the game Variable - Set Transport Blocked[1] = false
Else
0
@s3rius: Go
hmm, ill try creating the dialog and just showing/hiding it when a unit enters the area. thanks
0
ill bet you have that same code left somewhere in your list of triggers... Check the old triggers you made
0
I've been trying and trying to get this custom dialog to work. I don't want to give away too much about my map yet so maybe someone can just point me in the right direction. I'm trying to get a custom dialog with 6 unit selections to pop up when a unit enters an area. I've got the dialog worked out, the unit spawns when the dialog is clicked but if another played enters the same area the dialog for the 1st played buggs out and wont spawn a unit anymore and will not close when the unit leaves the area. I've looked everywhere for custom multiplayer dialog tutorials but cant find anything that will work for me. Im doing all this through 3 triggers. 1 trigger to spawn the dialog with 6 buttons when the unit entered the area. a 2nd to monitor dialog item used. and a 3 when player leaves area to clos the dialog. i need the dialog to work for 6 seperate players. whats the best way to make this work?
I know nothing about how functions or action definitions work so maybe thats my problem. also if anyone does know a good tutorial on action definitions and functions and how they work that would be great. Thanks! Sorry for the wall of text.
0
New hero style 6v6 jailbreak map idea looking for a good data/trigger editor. The project ATM is small but if the idea catches on we're hoping to make is a lot bigger. We have access to vent/map hosting servers. pm if you want more details.