m
no edit summary
No edit summary |
mNo edit summary |
||
| Line 16: | Line 16: | ||
:reaction | :reaction | ||
:;reaction : Number - the level of the reaction of unit towards otherUnit - this is a number between 1 and 7. If the reaction is unknown then | :;reaction : Number - the level of the reaction of unit towards otherUnit - this is a number between 1 and 7. If the reaction is unknown then nil is returned. | ||
:: 1 - Exceptionally hostile | :: 1 - Exceptionally hostile | ||
| Line 35: | Line 35: | ||
: Does not work across continents (or zones?)! If you query UnitReaction for a raid (or party)-member across continents, it won't return the correct value (I guess it returns nil, but I have yet to confirm that). I think it only returns correct values for units that are in 'inspect-range'. | : Does not work across continents (or zones?)! If you query UnitReaction for a raid (or party)-member across continents, it won't return the correct value (I guess it returns nil, but I have yet to confirm that). I think it only returns correct values for units that are in 'inspect-range'. | ||
: In Blizzard Code, UnitReaction is only used between the player and a Non Player Controlled target. --[[User:Xtrochu|Xtrochu]] 11:17, 3 Nov 2005 (EST) | |||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Unit Functions|UnitReaction]] | [[Category:API Unit Functions|UnitReaction]] | ||