[DiscordArchive] well what is the purpose of this?
[DiscordArchive] well what is the purpose of this?
Archived author: Anchy • Posted: 2022-12-21T20:26:57.573000+00:00
Original source
well what is the purpose of this?
Archived author: Anchy • Posted: 2022-12-21T20:27:14.223000+00:00
Original source
you can also return out of the hook early if you use some guard statements which will have basically no performance impact
Archived author: Anchy • Posted: 2022-12-21T20:27:21.138000+00:00
Original source
just 2 jmp instructions basically
Archived author: Rymercyble • Posted: 2022-12-21T20:27:30.158000+00:00
Original source
scale open world enemies by count of attacking players
Archived author: Anchy • Posted: 2022-12-21T20:27:45.902000+00:00
Original source
oh you can just use the threat manager then?
Archived author: Anchy • Posted: 2022-12-21T20:28:17.174000+00:00
Original source
im not sure if a hook exists for the threat manager but you could check when a player is added to threat for that unit and scale it accordingly
Archived author: Rymercyble • Posted: 2022-12-21T20:29:10.122000+00:00
Original source
i created hook OnAddThreat but i dont know how to tie it to specific npc and only in open world
Archived author: Rymercyble • Posted: 2022-12-21T20:29:36.003000+00:00
Original source
and i noticed that that is also triggered constantly
Archived author: Rymercyble • Posted: 2022-12-21T20:29:46.248000+00:00
Original source
although i could have placed it better probably
Archived author: Anchy • Posted: 2022-12-21T20:30:05.903000+00:00
Original source
I'm assuming because OnAddThreat is not OnAddNewThreat