multiboard icons to match units

Psiblade94122

In need of sleep
Reaction score
138
so, ive been working on my rpg systems again (yes im still working on it, its been years and yes it isnt done yet =_=)

Anyways, enough about my rpg, the problem exists with the multiboard
I have the board set up so it displays the battles status, that being the turn order of the match, the strings and everything is good untill i hit the icons

i cant find a way to synch a icon (may it be fore hero or creep) to be uniqe for each hero and or creep, meaning i cant get the icon for a pally to show for a pally

So.. other then pre-setting every possible instance for the icons, is there any possible way i can read that icon right off the unit?
 

UndeadDragon

Super Moderator
Reaction score
447
I don't think so. The only thing I can think of doing would be to set 2 arrays, which contain the unit type and the other contains the path of the icon, which has the same indicie as the unit.
 

DrEvil

FCRI Associate!
Reaction score
111
I think he meant : Index or Value , so you set these variables
Hero[1] = Paladin
Icon[1] = The icon you want

in multiboard : set icon item : ( do a loop til you get the right index e.g. [HERE]) then set it to Icon[Index]

Code:
loop ( each integer A )
    if PlayerHero[integer A] == Hero[integer A] 
    then
    set item icon = Icon[integer A]
    else

Not perfect but i hope you get what im trying to say
 

Psiblade94122

In need of sleep
Reaction score
138
i see... although that is the very method i said i did not want to do, i think you two have ruled out any other possibilities...
 

DrEvil

FCRI Associate!
Reaction score
111
> although that is the very method i said i did not want to do.

Where exactly did you say that ?
 

DrEvil

FCRI Associate!
Reaction score
111
> although that is the very method i said i did not want to do.

... Sorry my bad , did not read it properly.

EDIT : I hate my back button ... it double posts instead of editing ...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top