Staredit Network

Staredit Network -> UMS Assistance -> Recieving Units?
Report, edit, etc...Posted by Sinx on 2005-07-31 at 15:28:27
How would i do this.
I know how to kinda since i ahve seen the trigger already.
Conditions:
Bring("Player 12", "Any unit", "Anywhere", At least, 1);

Actions:
Give Units to Player("Player 12", "Current Player", "Any unit", 1, "Anywhere");
Preserve Trigger();
Comment("Recieve Units");

But whenever i try to do that in SF it always says theres a runtime 6 error
Report, edit, etc...Posted by MapUnprotector on 2005-07-31 at 15:33:49
It's a problem with the editor, I've gotten that error before in SF, and it's very annoying. Not sure how to exactly fix it though. You try restarting SF?
Report, edit, etc...Posted by UED77 on 2005-07-31 at 15:38:26
In the meantime, use SCMDraft. I posted the trigger at Warboards for you, but here it is again:

CODE
Trigger("Force 1"){
Conditions:
Always();

Actions:
Give Units to Player("Player 12", "Current Player", "Any unit", 1, "Anywhere");
Preserve Trigger();
}

//-


UED77
Report, edit, etc...Posted by Sniper on 2005-07-31 at 16:00:19
Hmm..which player did you put the triggers under? I think if you make triggers for p9 and up, you'll get a crash error. I'm not quite sure though.
Report, edit, etc...Posted by Heimdal on 2005-07-31 at 17:19:45
Probably because you're using TrigEdit syntax in Starforge.

QED.
Report, edit, etc...Posted by PCFredZ on 2005-08-01 at 09:58:46
QUOTE(Heimdal @ Jul 31 2005, 05:19 PM)
Probably because you're using TrigEdit syntax in Starforge.

QED.
[right][snapback]275250[/snapback][/right]


Follow up: Starforge gives you a little prompt of what to type in case if you forget, like "Bring(Player, Comparison, Number, Unit, Location);"
Next Page (1)