How would you change a units vision using EUD?
EDIT: Would this work?
Setdeaths(p4, setto, 10, -29415);
That should give a zealot 10 sight range right?
i dont think so it can b done
edit: nvm im wrong
Setdeaths(p4, setto, 10, -29415); do u tested it alredy??
In memcalc it says you can

I think that should work though, ima test

im a noob whit memcalc but it says to me (Sight Range) This trigger is disabled because you can't set P 9-12 deaths.
No, no it worked, ill post a screenie soon

EDIT: SCREENIE AWAY!

NOTE: The vision is 2, not 10 in this
Niceee, can u tell me the how do u use memcalc.. do u used unit editor or what

i just dont get memcalc
How can you not get it?
1)In the first dropdown box select what you want to modify on the unit
2)In the second drop down bbox scroll down into the units.dat and select a unit
Just look at the very end of what it says there.
It gives you: You need to modify the 1 byte value starting on byte 2 of deaths of -29415 for player 4 .
Only look at deaths of -29415 for player 4 .
Trigger: Setdeaths(p4, setto, 2, -29415);
The 2 is what sight you want to give the unit (cant be over 11)
And the -29415 is the Zealot part (i dont know why)
k, now i get it thnx. finally i can use it

this look more like a chat than a tread

QUOTE
It gives you: You need to modify the 1 byte value starting on byte 2 of deaths of -29415 for player 4 .
Only look at deaths of -29415 for player 4 .
Trigger: Setdeaths(p4, setto, 2, -29415);
The 2 is what sight you want to give the unit (cant be over 11)
And the -29415 is the Zealot part (i dont know why)
Saying SetTo(2) sets byte 1 to 2. What that trigger does is sets the unit on byte 1 to 2 sight range, and blinds the rest.
As stated, sight range can't exceed 11.how do u change hex to dec??
Use Windows Calculator (Start>Accessories>Calculator) in Scientific mode. You can convet from hex, dec, octal, and binary.