If the lava's position does not change, you can put a wall of invisible Supply Depots around the lava, and you can use the Issue Order action to lower/raise the Supply Depots as lava is lowered/raised.
Sorry, I meant the person who uploaded the map to the game server. The same map uploader/creator would have to publish both map. If one person published MapA and another published MapB, then it would not work.
Zantai uploaded and created ZHRPG. He has separate maps for each episode, but he can load the data that a player got from his first episode to his second episode.
Is there a way to order a unit to cast an abillity with no target? (meaning the player will have to choose a target w/ cursor)
An example of an ability with no target is is Stimpack.
An example of an ability with a target is Stalker - Blink.
There is a contradiction in your question. To issue an order with a target, click on the Green "(" before Ability Command in the Trigger Editor, and select "Order with target"
Unit - Order (Triggering unit) to (Ability Command) (Replace Existing Orders)
As far as I know, it is impossible to change a unit's model through triggers. If you look at the Data Editor, Supply Depot and Supply Depot (Lowered) are separate units. Same thing with Brood Lords and Corruptors, Viking ground and Viking air. I have never played Cortex, but they probably do it by creating a new unit at the point of the old unit.
General-If(Conditions)thendo(Actions)elsedo(Actions)IfAndConditions(Raceofplayer1)==Terran(Raceofplayer2)==TerranThenUI-ShowgameUIfor(Allplayers)UI-Display"Your Enemy Is Terran"for(Allplayers)toSubtitleareaElseGeneral-If(Conditions)thendo(Actions)elsedo(Actions)IfAndConditions(Raceofplayer1)==Terran(Raceofplayer2)==ProtossThenUI-ShowgameUIfor(Allplayers)UI-Display"Your Enemy Is Protoss"for(Allplayers)toSubtitleareaElseGeneral-If(Conditions)thendo(Actions)elsedo(Actions)IfAndConditions(Raceofplayer1)==Terran(Raceofplayer2)==ZergThenUI-ShowgameUIfor(Allplayers)UI-Display"Your Enemy Is Zerg"for(Allplayers)toSubtitleareaElse
but no messages displayed
Looking at your code, it seems that (Race of Player 1) == Terran is completely unnecessary. Try removing that and testing it again. The "And" should also be removed as it is And on default.
All I can think of is that you are testing it locally, and Player 2 is Neutral race by default
0
If the lava's position does not change, you can put a wall of invisible Supply Depots around the lava, and you can use the Issue Order action to lower/raise the Supply Depots as lava is lowered/raised.
0
Sorry, I meant the person who uploaded the map to the game server. The same map uploader/creator would have to publish both map. If one person published MapA and another published MapB, then it would not work.
Zantai uploaded and created ZHRPG. He has separate maps for each episode, but he can load the data that a player got from his first episode to his second episode.
0
An example of an ability with no target is is Stimpack.
An example of an ability with a target is Stalker - Blink.
There is a contradiction in your question. To issue an order with a target, click on the Green "(" before Ability Command in the Trigger Editor, and select "Order with target"
Unit - Order (Triggering unit) to (Ability Command) (Replace Existing Orders)
0
Bank files are shared in between maps if hosted by the same person. MapB can use the bank files which a player has achieved using MapA
0
Make sure every variable from RandomUnitType[0] to RandomUnitType[39] exists and is linked to a Unit Type
0
I'm going to look at it later, but right now u can change ur variable array set to something like this:
Pick each integer between 1 and 11
Set Var[Picked Integer] == Var[PickedInteger + 1]
0
Anything you can do in the GUI, u can do in custom scripting.
0
As far as I know, it is impossible to change a unit's model through triggers. If you look at the Data Editor, Supply Depot and Supply Depot (Lowered) are separate units. Same thing with Brood Lords and Corruptors, Viking ground and Viking air. I have never played Cortex, but they probably do it by creating a new unit at the point of the old unit.
0
This is a great tutorial and I think more people should read it!
0
Easiest way is this action:
Player Group - Pick each player in (All players) and do (Actions)
Actions
Melee - Enable Victory melee option for player (Picked player)
0
Completely untested, but should be working.
0
Here you go!
0
DotA has around a 50 game learning curve, but it's still one of the best maps ever, spawning multiple sequels having its own engine and game.
Anyways, I am sort of interested in triggering for you. PM'd.
0
Looking at your code, it seems that (Race of Player 1) == Terran is completely unnecessary. Try removing that and testing it again. The "And" should also be removed as it is And on default.
All I can think of is that you are testing it locally, and Player 2 is Neutral race by default
0
K received it. There are some issues about the map and I emailed you about it.