I need help making a unit not pushable to other units, without disabling the "moveable" flag.
If I try to change the push priority, will that make it able to push units below its push priority? If it does then I need help not making that happen as well as not having the unit be able to be pushed by units.
There is a property that states how hard a unit is shoved out of the way of others. By default they are all the same for every unit, but i cant remember the name...
Anyway, if set to 0 this property makes the unit unpushable iirc.
Good idea! I will try and do that now, to see if it works. Since the ones i'm trying to make non-pushable is the neutral player's units, then yeah that would probably work.
Ok for some reason it had an error when I made that trigger. I made it so that it picked each of the unit owned by player 0 to hold position, but it said error for some reason.
Unit Group - Pick each unit in (Any units in (Units in Unit Group having alliance Enemy with 1, with at most Any Amount) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Order (Picked Unit) to ( Hold Position) (Replace Existing Orders)
needs an event and the right alliances, but here you go. I hope that works. I know there are a few errors, like needing to make a unit group, and since I am not amazing at this stuff, sorry.
Sorry but that didn't work. Since neutral is allied to everyone, and it is a single unit that i'm talking about, it won't work. I tried some other actions but the units still were able to be pushed.
I need help making a unit not pushable to other units, without disabling the "moveable" flag.
If I try to change the push priority, will that make it able to push units below its push priority? If it does then I need help not making that happen as well as not having the unit be able to be pushed by units.
@Vietman: Go
For each unit involved try setting the Movement - Radius to 0 or Movement - Inner Radius to 0 or possibly both may need to be set to 0.
@Bronxsy: Go
If I do that, other units will just go straight through them.
There is a property that states how hard a unit is shoved out of the way of others. By default they are all the same for every unit, but i cant remember the name...
Anyway, if set to 0 this property makes the unit unpushable iirc.
@acidragoon: Go
I'm not sure if there is any, I looked in the movement section of the unit and I don't see anything like that sorry.
can't you make a trigger that automatically sets non-mobile units to hold position? I'm pretty sure that holding position men don't get pushed.
@Reaper872: Go
Good idea! I will try and do that now, to see if it works. Since the ones i'm trying to make non-pushable is the neutral player's units, then yeah that would probably work.
@Reaper872: Go
Ok for some reason it had an error when I made that trigger. I made it so that it picked each of the unit owned by player 0 to hold position, but it said error for some reason.
@Vietman: Go
hmm I'm not an expert but I'll look at it.
Untitled Trigger 001
Events
Local Variables
Conditions
Actions
Unit Group - Pick each unit in (Any units in (Units in Unit Group having alliance Enemy with 1, with at most Any Amount) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Order (Picked Unit) to ( Hold Position) (Replace Existing Orders)
needs an event and the right alliances, but here you go. I hope that works. I know there are a few errors, like needing to make a unit group, and since I am not amazing at this stuff, sorry.
@Reaper872: Go
Sorry but that didn't work. Since neutral is allied to everyone, and it is a single unit that i'm talking about, it won't work. I tried some other actions but the units still were able to be pushed.
can't you just change neutral's alliance status to every other player to non pushable? Or would this be a problem for other neutral units?
@acidragoon: Go
You might be talking about stats - mass, I'll see if that works when I change it.