Jump to content
TrinityCore

Simple SAI question: How to make a SAI trigger by player distance?


Mekonuts
 Share

Recommended Posts

Simple question, hard work to find out.

It is possible to trigger a SmartAI out of combat by a distance? I mean, i looked in-game for examples but them all uses Areatriggers and that's weird since i can't find co-relation between them. I would gladly accept any tip you can give me since im trying to repair Cataclysm quests.

-- Editing: I know that i can solve this with OOC SAI (Out of combat) but i can't set the range in there.

-- Editing 2: What i need is someone talking when in range. So i need to do anything OOC for that reason, the SMART_EVENT_OOC_LOS can't let me set the player as the target, maybe CONDITIONS has something to do with this? 

https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130108/smart+scripts

https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130002/conditions

Edited by Mekonuts
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...