[DiscordArchive] Hello quick question, looking to get into sripting some content. However i have a quick question wha
[DiscordArchive] Hello quick question, looking to get into sripting some content. However i have a quick question wha
![[Image: image.png?ex=690c05e2&is=690ab462&hm=50f...6f416c5c1&]](https://cdn.discordapp.com/attachments/376074477114490890/1052953254822154322/image.png?ex=690c05e2&is=690ab462&hm=50f9a0578859a28a4a9e613bf639a659cc4a1c5344cbd7e602116cd6f416c5c1&)
Archived author: Cj • Posted: 2022-12-15T14:20:18.958000+00:00
Original source
Hello quick question, looking to get into sripting some content. However i have a quick question what table do these ID's point to? its obviously gossip or npc_text or something but i cant cant find the reference to these ID's (Also may mention its probably obvious and im a beginner cpp dev, i come from c#)
I also come from mainly doing 3.3.5a things so these tables are vastly different from what im used to
Also have a second question actually: Whats the difference between `SmartAI` and `ScriptedAI`?
![[Image: image.png?ex=690c05e2&is=690ab462&hm=50f...6f416c5c1&]](https://cdn.discordapp.com/attachments/376074477114490890/1052953254822154322/image.png?ex=690c05e2&is=690ab462&hm=50f9a0578859a28a4a9e613bf639a659cc4a1c5344cbd7e602116cd6f416c5c1&)
Archived author: Tea • Posted: 2022-12-15T14:45:46.807000+00:00
Original source
GOSSIP_MENU points to gossip_menu/gossip_menu_options table, GOSSIP_TEXT points to npc_text
Archived author: Cj • Posted: 2022-12-15T14:46:11.789000+00:00
Original source
Thank you
Archived author: ModoX • Posted: 2022-12-15T15:26:47.432000+00:00
Original source
SmartAI is "db scripting" aka it uses smart_scripts table for its behavior. (Thats set in AIName field in db)
Everything else set in ScriptName is C++ code (which is a class inheriting ScriptedAI in most cases [there are rare stuff like bosses which use BossAI, which is implicitly inheriting ScriptedAI])
Archived author: Cj • Posted: 2022-12-15T15:29:01.217000+00:00
Original source
Thank you for the explanation, that makes way more sense to me now