Staredit Network

Staredit Network -> UMS Assistance -> Civillian Problems
Report, edit, etc...Posted by melkor191 on 2004-07-22 at 16:45:35
Hey , I am working on a tbc rpg , you don't really need to know what that is , only that blue is the party leader and controls everything by moving his civilian , to go shopping , blue brings his civ to the shops he wants , and it teleports his civ to the shop and creates on for the other players in the party . then he goes to the exit flag and it removes the civ , when they control no civs in the shop , it centers location outside the shop and creates a civ for p2.
The problems are : it creates civs for all the party members , EVEN THE ONES THAT AREN'T IN THE GAME! teal is a human player , hes not in the game , theres no teal , yet theres a teal civilian that appears ??? how is that possible! , then i tried putting , "current player brings exactly 0 "special unit" to location playas : kill all units for current player , it doesn't kill them auto , it creates some random rines for red to kill them manually ?! then i tried using remove all units for current player and it just doesn't work , CAN ANYONE PLEASE HELP ME! mad.gif ranting.gif
Report, edit, etc...Posted by greenreaper on 2004-07-22 at 16:53:41
The trigger that is "supposed to create a civ for player 2," is it for all players? If so, then it will create one civ for EVERY player. You need to make that trigger for one player.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-07-22 at 16:55:12
melkor191 please rename your topic or i'll delete it. Please read the red text up top that shows up when veiwing the Staredt Assistance Section.

QUOTE
When making a new topic for help, the topic title should be about your problem and not about "I need help" or "I don't get this". Your topic WILL be deleted if it doesn't have a discriptive title!
Report, edit, etc...Posted by Stereo on 2004-07-22 at 17:06:30
I think the problem is that you don't have the trigger set up for the right players in the right way.
Are you having it a trigger for player 2 that says "create 1 civilian for p1 at location, create 1 civilian for p2 at location, etc"? The proper way to do it would be that when p2 goes there it sets a switch, and then you have another trigger as such:
Conditions - switch is set, current player brings at most 0 civilians to (some location covering all the shops)
Actions - create 1 civilian for current player

The trigger being for P2 means that it will follow through all the actions regardless of who is actually in the game. Then if you go and make a trigger for P3 and they aren't there it won't run because that player doesn't exist. I suppose you could also use P12 triggers to remove civilians - they are created in the colour of a non-existent player so control reverts to P12.
Report, edit, etc...Posted by Yoshi da Sniper on 2004-07-22 at 17:09:40
QUOTE((U)Bolt_Head @ Jul 22 2004, 04:55 PM)
melkor191 please rename your topic or i'll delete it.  Please read the red text up top that shows up when veiwing the Staredt Assistance Section.

QUOTE
When making a new topic for help, the topic title should be about your problem and not about "I need help" or "I don't get this". Your topic WILL be deleted if it doesn't have a discriptive title!

He can't rename the topic, for security issues. Only moderators and admins can rename.
Report, edit, etc...Posted by Lithium on 2004-07-22 at 17:38:57
QUOTE(Yoshi da Sniper @ Jul 22 2004, 04:09 PM)
QUOTE((U)Bolt_Head @ Jul 22 2004, 04:55 PM)
melkor191 please rename your topic or i'll delete it.  Please read the red text up top that shows up when veiwing the Staredt Assistance Section.

QUOTE
When making a new topic for help, the topic title should be about your problem and not about "I need help" or "I don't get this". Your topic WILL be deleted if it doesn't have a discriptive title!

He can't rename the topic, for security issues. Only moderators and admins can rename.

well why don't you do it
Report, edit, etc...Posted by BeeR_KeG on 2004-07-22 at 17:58:14
If a trigger is only for one player then put it for one player.
If your making units, it's best to make 1 trigger per player that way you don't get to many units.
Report, edit, etc...Posted by melkor191 on 2004-07-22 at 19:09:30
QUOTE(ChaoticS @ Jul 22 2004, 04:38 PM)
QUOTE(Yoshi da Sniper @ Jul 22 2004, 04:09 PM)
QUOTE((U)Bolt_Head @ Jul 22 2004, 04:55 PM)
melkor191 please rename your topic or i'll delete it.  Please read the red text up top that shows up when veiwing the Staredt Assistance Section.

QUOTE
When making a new topic for help, the topic title should be about your problem and not about "I need help" or "I don't get this". Your topic WILL be deleted if it doesn't have a discriptive title!

He can't rename the topic, for security issues. Only moderators and admins can rename.

well why don't you do it

quoty o.O
whoot whoot!
thx for the help btw
Report, edit, etc...Posted by (U)Bolt_Head on 2004-07-22 at 20:33:49
QUOTE(Yoshi da Sniper @ Jul 22 2004, 04:09 PM)
He can't rename the topic, for security issues. Only moderators and admins can rename.

Well crap, I even made a test thread in the garbage section to see if i could rename it (since im not a mod there). I was able to fine, so i guess you renamed it yoshi?
Report, edit, etc...Posted by Yoshi da Sniper on 2004-07-22 at 20:35:22
Mmmm... maybe I'm wrong. Oh well.
Next Page (1)