Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] how do you do these?
Report, edit, etc...Posted by roryfenrir on 2006-11-08 at 10:05:57
okay, i want to know how to do both of the following functions:

-In the main game, when you walk by a unit it gives it to you but the color doesnt change.
-Make it so you cant attack Allies. (The system in helm's deep NGM)

the funny thing is i have accidently done both these. I dont know how and both of these would be nice to beable to do.

The dont attack ally system makes it so when you click attack and click on an allied unit, your guys fire but it doesnt do anything. This prevents feeding.

If you know how to do these, i would appreciate it if you told me.
Report, edit, etc...Posted by Tuxedo Templar on 2006-11-08 at 11:50:35
For the first prob, either use a rescuable player, or have a location following the unit you want and give all other units from the player you want to the current player when they enter that location.

From what I recall (I did it before too but not recently), for the other problem you need to constantly set a player as ally with the triggers. Needs hyper triggers too, I think.
Report, edit, etc...Posted by Heegu on 2006-11-08 at 11:51:39
To disable attack+click you must be constantly allied/unallied to the player. + Use hypers.
Report, edit, etc...Posted by Ichi on 2006-11-08 at 12:55:23
You need hyppers +


Trigger
Description:
ConstAlly
Players:
¤ Player
Conditions:
¤ Condition
Actions:
¤ SetAllianceStatus(PlayerX, Ally);
¤ SetAllianceStatus(PlayerX, Ally);
¤ SetAllianceStatus(PlayerX, Ally);
¤ SetAllianceStatus(PlayerX, Ally);
¤ SetAllianceStatus(PlayerX, Ally);
¤ SetAllianceStatus(PlayerX, Ally);
¤ SetAllianceStatus(PlayerX, Ally);
¤ SetAllianceStatus(PlayerX, Ally);
¤ SetAllianceStatus(PlayerX, Ally);
¤ PreseveTrigger();



That's enough
Report, edit, etc...Posted by spinesheath on 2006-11-08 at 12:58:56
I doubt setting the alliance status several times within a single trigger does change anything - SC is fast enough to do all these actions fast enough to make them happen virtually at the same time. Otherwise you'd have to wait for seconds till the next trigger run on large maps even with hypers closedeyes.gif
Report, edit, etc...Posted by Ichi on 2006-11-08 at 13:05:09
QUOTE(spinesheath @ Nov 8 2006, 12:58 PM)
I doubt setting the alliance status several times within a single trigger does change anything - SC is fast enough to do all these actions fast enough to make them happen virtually at the same time. Otherwise you'd have to wait for seconds till the next trigger run on large maps even with hypers  closedeyes.gif
[right][snapback]585663[/snapback][/right]


Test. -.-

If it don't work on your map add more
Report, edit, etc...Posted by Mini Moose 2707 on 2006-11-08 at 13:57:06
WTFage, that's not a hyper trigger at all. StarCraft will process that trigger, and run all of those triggers in one firing, which will have no cumulative effect. You could slap on that trigger a thousand times and it wouldn't change the effect, because no waits are involved.
Report, edit, etc...Posted by spinesheath on 2006-11-08 at 14:16:16
That's what I meant, too happy.gif

He MIGHT be correct if this action takes some time and thus acts as a wait, but that would be a new to me... pinch.gif
Next Page (1)