is this correct:Simba Code:if OptionsExist('ank',True) then
it seems to be. What i need is to check if there is an option of bank when i right click and NPC but my script wont compile because of this.
is this correct:Simba Code:if OptionsExist('ank',True) then
it seems to be. What i need is to check if there is an option of bank when i right click and NPC but my script wont compile because of this.
What compile error are you getting?
Actually....
When you look up the function, the first parameter needs to be a TStringArray.
So you would need to make it
if OptionsExist(['ank'],True) then
An array is like a list of stuff.
So you could even do like
if OptionsExist(['Bank', 'ank' 'nk'], True) then
But just 'ank' is fine/faster (by a few milliseconds)
thank you
Honestly the difference is just a few ms if any, it's negligible.
I'd say 'ank' will work all the time, to to be safer you can add more parts of it if you want.
There are currently 1 users browsing this thread. (0 members and 1 guests)