- Joined
- Feb 22, 2006
- Messages
- 752
I'm making an rpg and I need multiboards for each player showing combat stats, etc. So basically, I use the following function to create separate multiboards for each player:
Basically, it works fine when I only call this function once (e.g. create one multiboard for one player), but when i call it multiple times to create multiboards for all players, the multiboards don't show up. Can somebody PLEASE tell me what's wrong?
JASS:
function CreateMB takes player p, integer row, integer column returns multiboard
local multiboard mb = CreateMultiboard()
call MultiboardSetRowCount(mb, row)
call MultiboardSetColumnCount(mb, column)
call MultiboardDisplay(mb, p == GetLocalPlayer())
return mb
endfunction
Basically, it works fine when I only call this function once (e.g. create one multiboard for one player), but when i call it multiple times to create multiboards for all players, the multiboards don't show up. Can somebody PLEASE tell me what's wrong?