Jump to content

Recommended Posts

Posted

Just a simple question....

is it possible to select a friendly unit/player that walk near another one?

i'm trying a method to react a creature with player while he walk around it.

plz help me.

Posted

i'm just searching a way to do it with mangos core, not with SD2...

however i had a look core functions, and seems that is possible check only hostile targets. i repeat: i'm searching a method to react a creature (friendly) with player while he walk around it.

with scriptdev i can use MoveInLineOfSight....but with the core i think that i should create a function that resemble the virtual MoveInLineOfSight, is it right?

Posted

You can copy and paste code from SD2 into mangos. ScriptDev2 is based primarily on CreatureAI which is what mangos uses (through AgressorAI and ReactorAI) to handle creatures that are not scripted with SD2.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use