Staredit Network

Staredit Network -> UMS Assistance -> this is stupid but...
Report, edit, etc...Posted by wizard898 on 2006-04-29 at 09:52:58
i made a trigger to display text when you create a unit... but its not working... I don't know why. Isn't this trigger right? : Current player brings at least 1 zealot to Location, display text message. Maybe I'm just retarded >.>
Report, edit, etc...Posted by L-inspecteur_Chocolat on 2006-04-29 at 10:06:44
Make sure the trigger is owned by the players that will see the text. Also make sure that the text is set to "always display". There is a checkbox for that I believe.
Report, edit, etc...Posted by DT_Battlekruser on 2006-04-29 at 15:00:52
Well, I think your problem lies here:

Most likely your trigger does not currently have a Preserve Trigger action. Without one, it will only fire once.

However, if you add a Preserve Trigger action, the trigger will display text every 2 seconds if there is a Zealot in the given location.

If these units are being created by triggers, add a Display Text action to the trigger that creates the units. Otherwise, achieving the desired effect can be tricky. The simplest way to do it is to have triggers like this:

C:
-Current Player brings at least 1 Zealot to Anywhere
A:
-Center Location spawn on Zealot owned by Current Player at Anywhere
-Display Text "Zealot was trained!"
-Remove 1 Zealot for Current Player at spawn
-Create 1 Fenix (Zealot) for Current Player at spawn

Obviously, the hero would need to have the same stats as the normal one. Not perfect, but the simplest method I can think of off the top of my head.
Report, edit, etc...Posted by Toothfariy on 2006-04-29 at 23:26:08
well, who owns the trigger? i find that if its "all players" triggers often glitch or just not fire.
Report, edit, etc...Posted by DT_Battlekruser on 2006-04-30 at 01:24:52
All players works fine a player is specified by condition. In this case, you want to the trigger to be owned by either All Players or a force consisting of everyone who could train a Zealot.
Report, edit, etc...Posted by Corbo(MM) on 2006-04-30 at 23:06:34
Well..yeah that, if you use starforge or scmdraft with the normal syntax triggering system make sure you add the 4 for always display, or either make sure the always display box is checked and watch if the trigger is for the player who you want the text be displayed to, you cannot make the trigger for p4 and you want the text to be able to be seen by p1
Report, edit, etc...Posted by Lord_RexJr on 2006-05-01 at 18:28:14
In my opinion, dont do current players... its glitchy cuz i've tried it and the text message came 5 seconds after it was suppose to (i dont know y so dont ask..) I always did P1 brings zealot to blahblah blah but tats my opinion.
Report, edit, etc...Posted by Zeratul_101 on 2006-05-01 at 19:11:06
QUOTE(Lord_RexJr @ May 1 2006, 04:27 PM)
In my opinion, dont do current players... its glitchy cuz i've tried it and the text message came 5 seconds after it was suppose to (i dont know y so dont ask..) I always did P1 brings zealot to blahblah blah but tats my opinion.
[right][snapback]477398[/snapback][/right]


current players is not at all glitchy, its just the same as repeating the same triggers but changing the players. Its absolutely essential to advanced trigger systems and can cut down trigger work by quite a bit. I remember someone saying that the difference between a competant mapmaker and one who isn't is the use of 'current player'
Report, edit, etc...Posted by Lord_RexJr on 2006-05-03 at 15:51:11
QUOTE(Zeratul_101 @ May 1 2006, 05:10 PM)
current players is not at all glitchy, its just the same as repeating the same triggers but changing the players.  Its absolutely essential to advanced trigger systems and can cut down trigger work by quite a bit.  I remember someone saying that the difference between a competant mapmaker and one who isn't is the use of 'current player'
[right][snapback]477451[/snapback][/right]


yes but it is glitchy sometimes..
Next Page (1)