Originally Posted by
Heslon
I found a few spell scripts from a private server, they call a function with the caster, target and spell as a parameter, but the 'target' variable is a single object, and they also use this function for aoe spells, and i can't find where they call this function, what i really want to know is: when someone casts a spell, how does the game know the targets for aoe spell? is there somewhere a variable/list with all monster/player in the zone and they check the position from the target and get all 'targets' in the radius or something like that?