Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: NekoBaron on September 28, 2013, 07:46:06 PM

Title: Requesting CompareVariables script object
Post by: NekoBaron on September 28, 2013, 07:46:06 PM
Can we get a script object that is similar to CheckVariable but is able to check between 2 actual variable objects.

Would save trying to make about 50 script objects just to compare 2 variables to each other if require, I'm hoping to use them for random combination locks.
Title: Re: Requesting CompareVariables script object
Post by: Heretic on October 06, 2013, 03:44:25 PM
This would be a great addition to theavailable scripts! Would open a lot of doors I think.
Title: Re: Requesting CompareVariables script object
Post by: NekoBaron on October 13, 2013, 07:03:07 PM
Forgot to also suggest a set variable based on another variable, so you can set a variable based on another one, so we can copy/add/subtract easily between them, makes random combination puzzles a lot easier to set up.
Title: Re: Requesting CompareVariables script object
Post by: NekoBaron on October 21, 2013, 05:20:40 PM
Adding one more suggestion

A variablecase check

allowing for a variable to see if its equal to say 8 values to compare to which can trigger their own events, good for puzzles that have a lot of states. such as multi image pieces.