- 0
Range/LoS Check workaround in LUA for casting creatures
-
Recently Browsing 0 members
- No registered users viewing this page.
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
Question
cabfever
Hey everybody,
I talked with Antz and we got an idea how the range/LoS problem could be fixed by a workaround in lua until we get a propper fix in c++.
It should look something like this:
If {npc}:IsWithinLoS({player}) = false
{npc}:StopSpellCast()
{npc}:MoveChase({player})
But I can't speak LUA so I cant attach this to all creatures.
So I need your help!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.