I have a lookup table in mysql where it has an ID and script column. On the script column it contains text data like on the code block below. The intent of the table is that if they reach a certain level that is equal or greater than the ID column, the script column for that ID will be called.
My question is, how do you call the script column in your NPC script? Wondering if this is possible, since i have a few events that will benefit this one lookup table, instead of writing each one of the rewards.
Question
keithit110
I have a lookup table in mysql where it has an ID and script column. On the script column it contains text data like on the code block below. The intent of the table is that if they reach a certain level that is equal or greater than the ID column, the script column for that ID will be called.
My question is, how do you call the script column in your NPC script? Wondering if this is possible, since i have a few events that will benefit this one lookup table, instead of writing each one of the rewards.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.