I want to perform an ElseIf statement in my game regarding LoS. The player has to get to the Target through a maze. If Enemy don't see Player but do see Target> goto Target... Else, roam idle.
If Enemry has LoS to Player > set angle to Player
Elseif Enemry has LoS to Target > set angle to Target
Enemy roam randomly
I've tried a few things similar to above, but cannot get it working :(
Any idea oh brilliant minds?