Staredit Network

Staredit Network -> UMS Assistance -> Is it possible to make way points?
Report, edit, etc...Posted by hata711 on 2005-01-11 at 11:41:42
I've solved the last problem and here comes another problem...
How do i create way points for computer?
And it's not simply way points but also with attacking ability.
Is it possible? I've searched through the tutorial sections but none were found.

Also, i have another problem for spies.
Sometimes, there were lamers in game who spoil the game by attacking his allies.
I've played a map which prevents spies from constantly attacking his allies.
For eg, if an ally attacks you, the attacking only goes for about 1 sec and stop.
Then you have to "a" another time and it will stop within a second too.

Thanks for helping me smile.gif i might have more questions...

PS: Apologize for the poor English... I'm from Taiwan where English is not my first language. cry.gif
Report, edit, etc...Posted by Oni-Sei on 2005-01-11 at 12:01:31
ok to prevent people form un allying you have to use a trigger and its named something like

Set Allyince Player Blank

do this for all players then hit Preserv Trigger it they will constantly be allyd with the person they are suposed to be allyed withthe whoal game.


as fro your first question i dont know sorry
Report, edit, etc...Posted by chuiu on 2005-01-11 at 12:21:49
For rally points you can have locations over where the computer units are being spawned/created and locations over where you want them to attack to. And then add a simple trigger like this to get them to attack after being created:

Computer Player
Conditions:
Current Player brings at leaast 1 men to 'Look here'.
Actions:
Issue order to all units owned by Current Player at 'Look here': Attack to 'Attack here'.
Preserve trigger.

Using patrol works better, but then they patrol back after encountering no enemies at 'Attack here'. Up to you if you want to use it or not.

To prevent people from continually attacking his allies you simply want to add a "Preserve trigger" on the alliance trigger. Preserving it means that it will make it run as long as the conditions are met. So if it is always, it will always run.
Report, edit, etc...Posted by Urmom(U) on 2005-01-11 at 21:00:32
QUOTE(Oni-Sei @ Jan 11 2005, 12:01 PM)
ok to prevent people form un allying you have to use a trigger and its named something like

Set Allyince Player Blank

do this for all players then hit Preserv Trigger it they will constantly be allyd with the person they are suposed to be allyed withthe whoal game.
as fro your first question i dont know sorry
[right][snapback]123062[/snapback][/right]


to add onto this effect, use hyper triggers and the player wont be able to attack his allies at all! instead of that lame one second delay.
Report, edit, etc...Posted by chuiu on 2005-01-11 at 21:17:44
Some melee units can still attack like lings. And I think I've seen splash units do damage (with splash).
Report, edit, etc...Posted by Urmom(U) on 2005-01-12 at 16:52:35
yea melee units like scv's will still attack but thats not a big problem because ranged units that arent right up next to the unit they want to backstab most likely wont attack.
Report, edit, etc...Posted by BSTRhino on 2005-01-12 at 17:38:43
Do you mean rally points or waypoints? For waypoints, you can just have a location, and whenever the computer brings a unit to that location, you order it to another location. You can choose "attack" if you want the units to attack-move to the new location.

Splash units do damage regardless of whether two players are allied or not unfortunately. I used to make mods where every unit had "line splash" (which is gave everyone splash damage like the reaver) and I'd find that everytime I attacked an enemy with my allies, we'd not only kill the enemy's units, we'd kill each other's as well. It was real funny.
Next Page (1)