Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
gibbed
Apr 10, 2006

Highblood posted:

Ok so I'm a bit stumped with a script and I don't know if I can do anything about it with only 1 script and 500 character limit. Basically I made an EZ_40 script because it's the only t1 that's pretty impossible to do manually. It works except I don't know what to do if I get an NPC with multiple locks. Like this one here has an EZ_21 followed by the EZ_40, is there a way to pass the EZ_21 to my EZ_40 script?
You could have an argument that you pass in as previous properties, and pass them alongside your test properties for EZ_40.
code:
let test_args = Object.assign({}, args.input, { ez_40: "buttes" });
(Object.assign copies all properties from arguments into the first argument and returns the first argument)

Adbot
ADBOT LOVES YOU

  • Locked thread