[DiscordArchive] <@149273370838433793>what is the function of set instance data and how do you use it?
[DiscordArchive] <@149273370838433793>what is the function of set instance data and how do you use it?
Archived author: Krutok • Posted: 2022-09-28T10:45:35.427000+00:00
Original source
<@149273370838433793>what is the function of set instance data and how do you use it?
Archived author: bandysc • Posted: 2022-09-28T10:45:48.513000+00:00
Original source
it is related to c++ scripts
Archived author: Krutok • Posted: 2022-09-28T10:47:13.191000+00:00
Original source
Archived author: Krutok • Posted: 2022-09-28T11:00:05.427000+00:00
Original source
<@149273370838433793>What I don't understand why you have to kill the npc then execute .reload smart_scripts and then let it spawn again, because otherwise the reload has no effect
Archived author: bandysc • Posted: 2022-09-28T11:00:53.761000+00:00
Original source
because the script runs as the creature AI, and in order to reload the AI, the npc needs to be respawned
Archived author: Krutok • Posted: 2022-09-28T11:03:47.999000+00:00
Original source
That's why I always have a lot of dead bodies lying around when I often revise the script
Archived author: MaxtorCoder • Posted: 2022-09-28T11:08:19.158000+00:00
Original source
One of the reason to use C++ <:Kapp:715875571523125279>
Archived author: MaxtorCoder • Posted: 2022-09-28T11:08:23.284000+00:00
Original source
And use hotswapping <:Kapp:715875571523125279>
Archived author: Krutok • Posted: 2022-09-28T11:14:50.020000+00:00
Original source
that can be everything, but.... in another discord forum i offered 100$ for my personal encounter as i wanted it. In the end there was interest, but then the guy wasn't interested and I always posted my encounter ideas for free. So I wrote exactly what I wanted in C++, now doing it all with SAI and saving myself money
Archived author: bandysc • Posted: 2022-09-28T11:24:43.413000+00:00
Original source
the same code could be use to just reload sai ;p