How can I get unit sight radius?

Status
Not open for further replies.
Is there a way to get the value of the unit's sight radius? something like "set temp_integer = unit's sight radius + 100"
Variant 1: Use item ability of Goblin Scope add and remove the Goblin Scope abilities with different values of sight bonus.
Pros: No periodic events: Cons: You have to make a lot of abilities. Custom base causes increased loading time
Variant 2: If you use fixed value of sight then you can set point value of unit equals to the sight radius.
 
Status
Not open for further replies.
Back
Top