SetScriptVar on Tech Artifacts.

Started by Vanguard, April 17, 2014, 06:56:48 PM

Previous topic - Next topic

Vanguard

http://knucklecracker.com/wiki/doku.php?id=crpl:docs:setscriptvar

Quote
Tech Artifact (Added in 1.83)

Script: 0

COUNT
  The number of items the tech artifact should unlock.

What is the Variable to set the Tech Artifact to a type other than "COLLECTOR"?


"TECHARTIFACT" 61 32 CreateUnit ->id
<-id 0 "TechType" "PULSECANNON" setscriptvar
<-id 0 "COUNT" 3 setscriptvar

Places a tech Artifact and sets it count to three.

But neither "TechType" "TECHTYPE" "Tech" "TECH" "Type" nor "TYPE" do work.

It seems to be missing from the Wiki. Can someone give me a hint on EITHER what the variable name is I am looking for or how Do i get the entire properties of an object? Since this is not a CRPLcore I cannot attach a Stacktrace to it. And even then I am not sure it would show me all I need. Taking a break for now, so you lazy gits get a chance to get to work for me.  ;D

planetfall

It actually has its own function.

<-id "PULSECANNON" SetTechArtifactType
Pretty sure I'm supposed to be banned, someone might want to get on that.

Quote from: GoodMorning on December 01, 2016, 05:58:30 PM"Build a ladder to the moon" is simple as a sentence, but actually doing it is not.

Vanguard

#2
Ok, hereĀ“s my thought process:

:D ... :o...  :( ...  >:( ...   :-[ ...  

I need to get me a big bottle of "DeleteThisTopic". Fast. Yesterday.

Edit: Followuptopic
http://knucklecracker.com/forums/index.php?topic=16048.0
if you find the time, take a look at it. Thanks.  :)