Im replacing player made valks with devourers and that part of the trigger works fine but i want to replace the valks with a permenatly cloaked devourer but its not working i tried create units with properties but i cant make it cloaked. And also is there a way to make a map with hundred of units and buildings suddenly half way through the map all become blind or have severely limited vision?
This might be a bit above your level, but this is what you're looking for, for the cloaking the devourer thing.
In regards to the second question, as far as I know it's impossible. Well, you could place computer-controlled medics all over the map for a player that is enemy to all the others. Of course he needs the spell researched and all the enemy units must have 81+ health.
But that's nonsense.
Hundreds of units being blinded would be wayyy too much effort for the result, and buildings can never be blinded.
Also, be sure when doing the disable-enable-enable that the players cannot see the unit, or else they will crash.
I looked at the tutorial thing. And i still dont understand ? What should the trigger actually read as? like my original trigger read :
Conditions:
Current player brings at least 1 "valkyrie" to location anywhere
Actions:
Center location "VDevour" on vakyrie owned by current player at location anywhere
Remove one valkyrie at location "VDevour" for current player
Create one Devourer at location "Vdevour" for current player with properties (which didnt work)
Preserve trigger
I tried to apply properties: cloak after making this trigger
Current player brings at least 1 devourer to location anywhere
Action
Disable doodad state for devourer for current player at anywhere
Preserve trigger
So cloaking was still grayed out. What should the conditions and actions read as for the devourer to cloak?
I see no enable doodad state.
Using create unit with properties and clicking cloak does nothing if that unit doesn't have the cloaking ability. The trigger should read like this:
Actions: create 1 devourer for computer player at (location the player cannot see)
disable devourer at location
wait 111
enable devourer
wait 111
enable devourer
wait 111
Order move devourer from (location the player cannot see) to (another location right next to it).
Trigger #2.
If player 8 brings atleast 1 devourer to (another location right next to it), current player commands atleast 1 valk: Center location 2x2 on valk owned by current player, remove valk, move devourer at. (another location right next to it) to 2x2.
I never use disable enable enable stuff, so I'm not sure if I got that right, or if devourers can be cloaked in the first place. But you can atleast try it. Also, you could technically combine those two triggers somehow, but that's more about your choice of formatting.
Yah! The latter works fine
I just get interested in it and tested. The main thing is not to forget move order action, or it'll crash. Huh... Have never cloacked Devourers