[DiscordArchive] hmm still doesn't work, how can I check if OnUpdate is called?
[DiscordArchive] hmm still doesn't work, how can I check if OnUpdate is called?
Archived author: Auhgarn • Posted: 2020-01-19T20:10:06.645000+00:00
Original source
hmm still doesn't work, how can I check if OnUpdate is called?
Archived author: Auhgarn • Posted: 2020-01-19T20:11:52.618000+00:00
Original source
~~will try and add to world_script_loader as well~~
Archived author: -- • Posted: 2020-01-19T20:23:12.338000+00:00
Original source
add a breakpoint in the function
Archived author: Auhgarn • Posted: 2020-01-19T20:24:14.991000+00:00
Original source
Ok, will do and recompile and try again
Archived author: MaxtorCoder • Posted: 2020-01-19T20:25:39.959000+00:00
Original source
Attach VS to the exe tho
Archived author: MaxtorCoder • Posted: 2020-01-19T20:25:45.705000+00:00
Original source
Else you will never hit that breakpoint.
Archived author: Auhgarn • Posted: 2020-01-19T20:26:22.033000+00:00
Original source
Ok
Archived author: Auhgarn • Posted: 2020-01-19T20:31:44.442000+00:00
Original source
Well, it most certainly appears to be called since it's in the call stack
Archived author: Auhgarn • Posted: 2020-01-19T20:35:34.935000+00:00
Original source
I'm just curious
Archived author: Auhgarn • Posted: 2020-01-19T20:36:14.645000+00:00
Original source
isn't the line
```cpp
if (Player* player = obj->SelectNearestPlayer(5.0f))
```
supposed to be a comparison and not assigment?