Jump to content

Tutorial: Nvse4+ Part 4: Array Variables


Recommended Posts

Guest tomm434
Posted

it doesn't work. I'll leave Ar_size, at least it returns -1 so I can stop script later.

Thanks anyway!

 

By the way - this code

if eval (Ar_Find ActorREF, aaSCMainQuest.SlaveList[0]) != Ar_BadNumericIndex
    setFunctionValue 1
endif

if aaSCMainQuest.SlaveList[0] is NOT initialized - it returns error but stil function value was set to 1.

  • 1 month later...
Guest tomm434
Posted

Is there a way to know names of ALL array dimensions?

SexoutNGAQ.animsBlacklist["Sexout.esm"]

For instance this is the black list form "Sexout.esm". I want to do script which will check all dimensions for black list.

Posted

Is there a way to know names of ALL array dimensions?

SexoutNGAQ.animsBlacklist["Sexout.esm"]

For instance this is the black list form "Sexout.esm". I want to do script which will check all dimensions for black list.

 

Can you explain a bit more what you want? Looking to figure out whatever keys like "Sexout.esm" are available, or something else?

Guest tomm434
Posted

 

Is there a way to know names of ALL array dimensions?

SexoutNGAQ.animsBlacklist["Sexout.esm"]

For instance this is the black list form "Sexout.esm". I want to do script which will check all dimensions for black list.

 

Can you explain a bit more what you want? Looking to figure out whatever keys like "Sexout.esm" are available, or something else?

 

 

I want to check for ALL dimenstions of the array. Array might have more dimensions (black list exists for each sexout plugin) but I don't know their names.

 

Posted

Ar_Keys will return all the keys in a regular array, eg:

 

Ar_Keys SexoutNGAQ.animsBlacklist : is something like: Ar_List "Sexout.esm", "ZAZ", "Sexout-Amra.esp"

 

Or, you can just use foreach to loop through them

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...