Jump to content

Scriptdev and assigned scripts


Guest singlem

Recommended Posts

Before you think this belongs on the scriptdev forum please read.

The core is checking for scripts that has not been assigned and out puts a error.

I want to know is there a way to this in reverse.

Check if an npc has a script assigned that does not exist.

That what I know this will not make a big defference if a script is assigned that does not exist, but

for a database point of view, if a dev sees a script assigned it becomes a core issues, where it chould have been fixed in the database.

If I'm wrong with my point of view, please correct me:)

Link to comment
Share on other sites

Core know full list script ids/names but not have direct access to scripts list.

So this check more easy done at script lib side where all info known.

In fact this just need iterate after lib loading by scripts list and check for NULL values in list.

Adding like check better continue discuss at script lib project forum, at ScriptDev2 forum for example.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use