Interface - Select Window problems in Developer Help
|
|
Code:
mob/proc/SkillShow(var/mob/C) var/counter=0 winset(src,"SkillWindow","pos=250,100;is-visible=true") for(var/obj/Moves/M in C.skills) counter+=1 src<<output(M,"SkillGrid:1,[counter]") counter+=1 src<<output("[M.descp]","SkillGrid:1,[counter]") if(M.range>0) counter+=1 src<<output("Range:[M.range]","SkillGrid:1,[counter]") if(M.duration>0) counter+=1 src<<output("Duration:[M.duration]","SkillGrid:1,[counter]") if(M.cooldown>0) counter+=1 src<<output("Cool Down:[M.cooldown]","SkillGrid:1,[counter]")
|
Problem description: For some reason randomly throughout the match when you click the skills button it will show all the characters moves but it will sometimes show another characters(you have teams of 3) move in the list. also sometimes clones of the duration or cool down text shows up.
|