[DiscordArchive] How would you advise me to make my script run all the time to check the proximity of the players ? (
[DiscordArchive] How would you advise me to make my script run all the time to check the proximity of the players ? (
Archived author: William Von Kha • Posted: 2023-01-14T21:46:25.338000+00:00
Original source
How would you advise me to make my script run all the time to check the proximity of the players ? (I need to have the Player class) ... Would I test with IOSTREAM ?
Archived author: Tea • Posted: 2023-01-14T21:50:55.788000+00:00
Original source
write a WorldScript and override OnUpdate
Archived author: Tea • Posted: 2023-01-14T21:51:16.559000+00:00
Original source
and probably throttle your code so it only runs once every few seconds instead of on every update
Archived author: William Von Kha • Posted: 2023-01-14T22:02:35.438000+00:00
Original source
All right! Do you have an example or a place in the code to know how to use WorldScript. I've never done
Archived author: Tea • Posted: 2023-01-14T22:02:54.548000+00:00
Original source
no. i do not
Archived author: Tea • Posted: 2023-01-14T22:03:15.534000+00:00
Original source
WorldScript is not used for any blizzlike content, its all for custom scripters to use