Staredit Network

Staredit Network -> UMS Assistance -> Display txt, create units doubles
Report, edit, etc...Posted by Saox on 2006-05-13 at 14:43:57
So my problem is that I have a force called PLAYERS. And I tried to do a few triggers that creates units for the ennemy when any unit of PLAYERS comes to a certain location. And when I tested the map alone everything was fine, but when I did it with a friend the units spawned twice, when with two others they spawned 3 times. I have same problem with displaying a text message.

How should make this trigger work properly and only once?
Report, edit, etc...Posted by Equality on 2006-05-13 at 15:10:47
I think you did CURRENT FORCES instead of PLAYERS in the actions. Or you probably put the trigs in p1,2 and so on instead of the forces PLAYERS.
Report, edit, etc...Posted by DT_Battlekruser on 2006-05-13 at 15:53:50
A trigger running for a force runs once for each used slot in that force. Use the condition "CURRENT PLAYER brings X UNIT to LOCATION", not "FORCE brings X UNIT to LOCATION", and your problem should be fixed.
Report, edit, etc...Posted by Heimdal on 2006-05-13 at 16:35:47
QUOTE(DT_Battlekruser @ May 13 2006, 02:53 PM)
A trigger running for a force runs once for each used slot in that force.  Use the condition "CURRENT PLAYER brings X UNIT to LOCATION", not "FORCE brings X UNIT to LOCATION", and your problem should be fixed.
[right][snapback]485847[/snapback][/right]
This won't fix the create units problem, because the trigger will still run for each player. Change the OWNER of the TRIGGER to be the computer player, not the force.
Report, edit, etc...Posted by Saox on 2006-05-13 at 17:07:25
Alright, done smile.gif. Thank you guys.
Report, edit, etc...Posted by Equality on 2006-05-14 at 09:45:32
Somebody should lock this topic?
Report, edit, etc...Posted by Mini Moose 2707 on 2006-05-14 at 16:38:13
You should report this topic requesting a lock?

ยป Topic Locked
Next Page (1)