Knuckle Cracker

Creeper World 3 => The Coder's Corner => Topic started by: GoodMorning on May 27, 2016, 08:19:29 AM

Title: SetScriptVar and Totems
Post by: GoodMorning on May 27, 2016, 08:19:29 AM
Hello all.

I am creating a WDDBD script, (no, I do not intend to reveal what the acronym represents) and was wondering if SetScriptVar can be used to improve Totems (e.g. create a 100x Aether source)?

While I'm on the topic, is 100x the same as 1/sec? It looks about right...
Title: Re: SetScriptVar and Totems
Post by: Builder17 on May 27, 2016, 09:29:56 AM
I am not sure do I understand what you are meaning , but if you double click totem in unit edit mode you can change starting effectivity and effectivity growth speed there , Ok?  :)

You could test are these changeable with SetScriptVar.  ???
Title: Re: SetScriptVar and Totems
Post by: Grayzzur on May 27, 2016, 09:52:50 AM
If it's possible, the instructions are in the wiki page for SetScriptVar (http://knucklecracker.com/wiki/doku.php?id=crpl:docs:setscriptvar). It lists all the known attributes of the builtin units. However, Totems don't appear to be in the list.

You can experiment and try to guess the var name for those settings, but it's likely that they aren't changeable from within CRPL scripts. The only way to know for sure (aside from getting lucking and making a noticeable change via trial and error) would be for Virgil to respond.
Title: Re: SetScriptVar and Totems
Post by: GoodMorning on May 27, 2016, 09:59:02 AM
Grayzzur:
Thanks for that.
I know how SetScriptVar works, but I was wondering if Totems were missing from the list by accident or by design.

Builder17:
I was after a CRPL form, I know how to change it if it exists at editing time. Thanks anyway.