hmm i don't know how to start..
for an rts game:
i want to have a unit selected, check weather it has the pv "can_build" set to 1 and if so draw a "build_button" on the navbar at the bottom.
i was somehow thinking that i can set a global variable "selected_unit" set to the unit you selected or the first one if you selected multiple units. then just do something like:
if (selected_unit.can_build == 1)
does this somehow work in construct?
it's annoying when you know how to do something, but don't know how to tell construct to do it ^^
it may have something to do with getUniqueID but i can't search for that because the words are to common.
this is how i would do it in WorldEdit (warcraft3 editor) where "unit" is a variable type.
so i am basically asking how to address a specific unit (and its variables...), i guess...