From TheWarWiki
For those of use trying to convert our old World of Warcraft mods (or even other peoples) for use in Warhammer, there are some things that just can't be done, and there are some that are quite doable, just differently. To that end, this section is intended to list tips and methods for converting your mods more easily.
Straight Equivalents
| World of Warcraft | Warhammer Online | Notes
|
| UnitName("player") | GameData.Player.name | Player's name
|
| GetCVar("realmName") | GameData.Account.ServerName | Current server
|
Simple Code Equivalents
| World of Warcraft | Warhammer Online | Notes
|
| GetNumPartyMembers()
| function GetNumPartyMembers()
local iCount = 0
for i = 1, 5 do
if GroupWindow.IsMemberValid(i) then
iCount = iCount + 1
end
end
return iCount
end
| Simple count of number of people in party/group
|
No Current Way To Do/Looking For A Way