Object properties
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Object properties
I noticed interesting thing, if on unit/building remove Named “Hitable”, so the unit can be selected only through army controller by clicking on it’s icon or only using selection area with left mouse click and selecting area (if object is building, than only through area selecting). I if I ll try to just click on unit on map, it will not be selected. Same effect gives object if we remove Named “Selectable”. Anyone knows, why by making unit not Hitable, game also disables selecting it on game map just by single click on it?
Re: Object properties
'Hitable' means you can attack it
2nd Place Johnnyzocker's Tournament 2008.
2nd Place Saturday Battle Tournament 2010.
3rd Place X-Mas Tournament 2010.
2nd Place Saturday Battle Tournament 2010.
3rd Place X-Mas Tournament 2010.
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Object properties
I know...I mean, if remove parameter Hitable, but leave selectable, the unit cannot be selected for unknown reason
Re: Object properties
hitable could also mean that the object is clickable (by cursor), but i'm not sure
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Object properties
Yes, that’s what I actually wanted to say...Thanks MrMorgana...While you remove parameter Hitable, the object now cannot receive damage or be attacked, but it also cannot be selected by clicking on it with cursor. Though, it’s still can be selected through other way xD
- AnthonyCole
- - Admin -
- Posts: 2134
- Joined: Sat Apr 18, 2009 13:17 pm
Re: Object properties
You can still drag a selection rectangle, right?
I've never seen code like this.
CEP Moddb | CEP download
ParaWelt TicTacToe | Multiplayer TicTacToe/Connect four/etc
CEP Moddb | CEP download
ParaWelt TicTacToe | Multiplayer TicTacToe/Connect four/etc
- ParaworldFan
- - SEAS -
- Posts: 482
- Joined: Tue Nov 26, 2019 19:36 pm
- Location: Russia, Surgut
Re: Object properties
Yep, that’s right