HI there,
i hope someone can help me, i try to create a random map in aoe 3, i want to make Wall around every Towncenter. This is my current status:
.....
HERE A SCREENSHOT:
i want the Walls on Leftside of TownCenter rotated 90° but i cant find any Command to can do that.
https://imgur.com/syYJo13
i hope someone can help me, i try to create a random map in aoe 3, i want to make Wall around every Towncenter. This is my current status:
.....
//create Wall
int Wall_normal = rmCreateObjectDef("wall");
rmAddObjectDefItem(Wall_normal,"WallStraight5",1,0.0);
for(i=1; <cNumberPlayers){
rmPlaceObjectDefAtLoc(TCID, i, rmPlayerLocXFraction(i), rmPlayerLocZFraction(i));
vector TCLocation = rmGetUnitPosition(rmGetUnitPlacedOfPlayer(TCID, i));
for(v=1; <=12) {
rmPlaceObjectDefAtLoc(Wall_normal, i, rmXMetersToFraction(xsVectorGetX(TCLocation))-0.06+(0.012*v), rmZMetersToFraction(xsVectorGetZ(TCLocation))+0.06);
//THIS IS THE PROBLEM
rmPlaceObjectDefAtLoc(Wall_normal, i, rmXMetersToFraction(xsVectorGetX(TCLocation))-0.06, rmZMetersToFraction(xsVectorGetZ(TCLocation))-0.06+(0.012*v));
}
HERE A SCREENSHOT:
i want the Walls on Leftside of TownCenter rotated 90° but i cant find any Command to can do that.
[This message has been edited by alex45362 (edited 06-18-2020 @ 10:59 AM).]