Must have “missed” it, but…-the code for planting a flag in the first place…
People here seem to have problems locating or picking their flags, but not for placing them.
For some reason I don’t seem to recall seeing the code for planting one.
I guess it should be something like:
green = hero.Placeflag(flag.pos.x, flag.pos.y)
black = hero.Placeflag(flag.pos.x, flag.pos.y)
purple = hero.Placeflag(flag.pos.x, flag.pos.y)
which should place flags with diferent colors at specific locations.
I’m following what I perceive as the script logics, but I did not see anything like it anywhere, not even the hints section.
I think one can also use it to establish dynamic flags, meaning:
green = hero.flagPlace(enemy.pos.x, enemy.pos.y)
and make conditionals for the hero behavior towards different characters.
-Any help in feaguring it out is welcome.