Hi again, tired of Guild Wars 2 already :/
Anyway...
I've got a question about lists, yes I've been on the wiki page
Description:When I try to remove ex. a noderef from a list, does it remove it from the list, or does it destroy the object the noderef is pointing at?
At this point it seems it destroys the entire object, since my targeting and tabbing functions for some reason somtimes delete the creature and causing a nice error, that there is no creature.
What i want to do is just remove the noderef from the list, without destroying the object its pointing at. Is this how it works or?
example of how I'm doing this
targets as list of noderef = GetTargets()
n as integer = 1
if targets.lenght != 0
foreach t in targets
if t = GetClickTarget()
remove targets at n destroy
.
n = n + 1
.
.