How would I go about creating player owned terran add-on buildings mid game?
I tried this:
CreateUnitWithProperties(1, Comsat Station, Location, P7, 1);
GiveUnits(1, Comsat Station, All Players, Location, P7);
But it failed. I know you can preplace player owned addons, but I wish to do it in mid game.
ALSO, how do you have starforge auto complete your phrase? Like, type in CreateUnitW and then hit what keys to fill in the rest?
Edit: Oooo what about the whole "withproperties" numbers in starforge? What do those numbers equate to? Or to do it correctly, do I have to switch back to xtra?
I don't really get the first question.
Second, for autocompleter for example you you wanted CreateUnit(1,Marine,blah,currentplayer); I would type cre(1,mar,bl,c); can it would fill.
Lastly, I think there is a program to download that spits out the starforge create unit with properties number.
How is it that people don't understand what I'm trying to say half the time? I know I don't suck at english that bad.
Anyways! When you have a terran add-on (nuclear silo, comstat station, etc) by itself (no building for it to attach to) it turns itself neutral (and any player can land a building there and it'll attach itself).
In the xtra editor, alternative mode I believe, you can preplace player owned add-ons and they still fuction as if the player had the proper building attached to it.
My question is, is there any way to create player owned (non neutral) terran add-ons mid game?
And another little question, since I don't wanna appear to be spamming topics...
If a transport has a marine loaded in it and the transport moves to location x. Would the marine inside the transport satisfy this condition:
Bring(CurrentPlayer, 1, marine, location x);
?
I haven't botherd recently to know but if you can't make them with triggers, stack them in a corner using starforge (so that they are owned) and move them. Change ownership if you must.
Yes, marines satisfy in-dropship to locations commands.
They count as AIR. So if you double-click locations, you'll see ground/air.
Marine will count as air instead of ground, while in dropship.
If all are checked, marine will be counted either way.
As for the add-on, heck I'm using that in a future map, just havn't tried yet.
Squad Support by BoTD - has nuclear silo's owned by people.
Impossible Scenerios - has Com Stat stations owned by people.
Again, never tried playing with add-ons, but I'm sure theres a way.
Any other input!?
-Drakiel
Would creating the addon for a player then giving it to player 12 work?
I don't think that would do anything.
Try having one preplaced and see if you can change its ownereship. Then you camn have some stacked and move them and gove them to players.
I have an idea. If it is attached to a building and you move it, will it still belong to the person or not?