OK, I'm having the hardest time figuring out what the hell I'm doing wrong...
I'm re-making an RPG that I started a really long time ago, because it was the first map I ever really did and the methods that I used to achieve what I wanted were really drawn out, unnecessary, and unorthodox.
Anyway, I want a computer owned player that is an enemy to another computer owned player and allied to a human to remain cloaked FOREVER. For some reason I just can't figure it out, it cloaks for a split second and then uncloaks right away when the map starts up... I've been able to do this in my old map with a computer owned player, so I know it's possible to do. Here's my triggers:
C- Always
A- Set energy for all Terran Wraith owned by player 6 at anywhere to 100%
Set Human Players to Ally for player 6
Set Comp Allies to Ally for player 6
Set Comp Enemies to Enemy for player 6
Preserve Trigger
I researched by default Wraith cloaking field for all players, as well as apollo reactor, I put a 0 cost for cloaking field for wraith, and now I'm not sure what else to do... I made sure it was player 6 that I did everything for and EVERYTHING... am I missing anything?
EDIT: EDIT: HMM, I'm starting to understand the problem now, just not really sure yet. But here's the deal, I have it cloaked from the beginning, and it is also moving to a specific location layer right from the start of the map as well. As soon as it reaches the intended location layer it uncloaks. It remains cloaked until it reaches the location layer.
Okay, here is your dilemma:
-Cloaked Wraith that uncloaks at beginning of game
-Cloaked Wraith uncloaks at intended area
Here is the solution(and what you will need):
-Wraith
-Location named "Cloak"
-Computer Player
TRIGGER CONDITIONS:
-Always
TRIGGER ACTIONS:
-Set energy for all Terran Wraith for "Player" at anywhere to 100%
-Preserve Trigger
TRIGGER CONDITIONS:
-"Player" brings at least "#" Terran Wraith to "Cloak"
TRIGGER ACTIONS:
-Set energy for all Terran Wraith for "Player" at "Cloak" to 0%
-Preserve Trigger
TRIGGER CONDITIONS:
-Always
TRIGGER ACTIONS:
-Set Player(Humans) to ally
-Set Player(Comp. Ally) to ally
-Set Player(Comp. Foe) to enemy
-Preserve trigger
Don't know if this would help, though, I'm just recapping on what you put...
Interfere, maybe I worded that wrongly, but I just want a wraith that remains cloaked permanently ... it should not uncloak.
I did look at the tutorials before, but that is a different instance.
There a computer player is giving a human player a cloaked/burrowed unit and it remains permanently cloaked because that human doesn't have cloak/burrowe researched, or so i assume. So your saying I would have to have a computer player with cloak/burrowed research and create a cloaked wraith for that computer player and then give it to the computer player that i want to have it but have that player not have cloak researched?? I guess I could do that, but then I might have to adjust my map.
My question was if anyone knew what I was doing wrong in my specific instance ... because I know you can cloak a wraith the way I was doing it, because I do that in another map I made. I'll keep on working at it.
That brings an interesting idea: Could you make it possible to keep some zerg units burrowed the entire game? And still be able to move and all? That could be cool...
ok I was ready to give up trying to figure out what i did wrong with my method...
so then I went to the tutorial on this site and tried to use that ... you know, big deal, I'll change a few things around in my map then.
But then, I tested it and yea, sure, it works with keeping a human owned wraith cloaked, but it doesn't keep a computer owned wraith cloaked.
I tried instead of giving the wraith to a human player I gave it to a comp owned player and when I did that, it just uncloaked itself. So apparently it will work for human players but not computer players.
This sure is annoying... can anyone help me with keeping a COMPUTER owned wraith cloaked?
Maybe you can use this trick.
www.trickznstuff.net/staredit/tutorials/rd.php?id=13&n=Triggers: Advanced
QUOTE(dashrike @ Mar 5 2004, 05:36 PM)
Could you make it possible to keep some zerg units burrowed the entire game? And still be able to move and all?
What about my idea? Is that possible?
SEN has a tutorial? Amazing...I should use that some time!
Just looked in the tutorial and I found something that makes no sense. I mean, the ammo triggers. If you run out of ammo, you have to tell the guy to always be allied and by pressing A (Like I always do) gets you around it. how does that work? Someone Explain...