Jump to content

New to Scripting


InActionMan64

Recommended Posts

I would gratuitously plug one of my mods but I haven't got one out yet :sad:

 

Got a problem thou,

 

AddNewEffect (Array["value"]) (SecondArray["Value"]) 0 0 0 0 1).

 

I know this,

 

AddNewEffect (Array["value"]) NameOfNewEffect 0 0 0 0 1), works

and I've confirmed that SecondArray["Value"] is the name of a new defined effect but nothing comes out.

 

What do I need to do to get AddNewEffect to accept SecondArray["Value"] ?

 

Now I know your not an Array expert so I don't expect a miracle but ...

Link to comment
Share on other sites

  • Replies 76
  • Created
  • Last Reply

Top Posters In This Topic

You need an "OR" operator ? " || "

Unless it's additive so you need "AND" " && "

 

Just a guess ... but have you seen this info page ?

 

https://geckwiki.com/index.php/NVSE_Expressions

Nice try but I think it has to do with declaring the variable, setting SecondArray["Value"] up as a string or something else before trying to use it but I can't find the right combination.

Link to comment
Share on other sites

 

You need an "OR" operator ? " || "

Unless it's additive so you need "AND" " && "

 

Just a guess ... but have you seen this info page ?

 

https://geckwiki.com/index.php/NVSE_Expressions

Nice try but I think it has to do with declaring the variable, setting SecondArray["Value"] up as a string or something else before trying to use it but I can't find the right combination.

 

 

Probably ... which I guess is the guts of understanding the array mechanics ?

And me NOT understanding ... is because I'm still in the ole school clunky method ?

Example : a big long script of lines being additive ... rather than this ~ new fangled ~ array ?

Just guessing of course :wink:

Link to comment
Share on other sites

Just finished up over on the Xnvse discord getting my array problem sorted, I was ONE step off from it working. ONE! Took almost 1½ hours to find the ONE thing that needed to be sorted.

 

I'm fine, it works now. {deep breath}

Link to comment
Share on other sites

1 1/2 hours is quick , if in fact it did sort it ? 8 hours of hair pulling is usual for me to sort out an A to B render script wise.

 

The plethora of detail nuances that can simply road block it , Oy ~ Veh

Link to comment
Share on other sites

But how a person mods and understands is subjective to the individual.

So looks like another week ... and you'll be teaching me how to mod .

 

Hehe ; )

 

You really are exceptional in my experience .

Link to comment
Share on other sites

  • 3 weeks later...

Well I'm back. I've got three mods on the go, with at least one almost out the door.

 

But this isn't about that, it's about AddNewEffect. Got any experience with this ?

 

No personal experience ... just in theory as we discussed it in this thread starting page 2.

What's the issue with it ? But remember if it is about an array ... you are already ahead of me on that caveat.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...