Cacowad
Junior Member

Posts: 229
Registered: 07-12 |
my goal is to create a set of monsters that will attack both the player and other monsters that don't belong in theyr set.
an example: a turret that will shot either a zombie or the player, depending on who is nearer to the turret.
this is fundamental for a project of mine (a couple actually), where you can choose 1 of 3 factions or just join none of them, but i can't figure out how to code it in decorate.
i tryed several methods that unfortunatly works only if there are 2 factions, not 3 or 4 as i want it to be.
any suggestions?
|