How can I enable techs with xs scripting?

Hello guys,

I’ve spend some hours looking through the UGC Guide and zetnus’ google doc but I cannot find an answer. How do I enable techs with xs scripts?

xsEffectAmount(cDisableTech, 316, 0, 0, 1)

Allows me to disable Redemption but how to I achieve the opposite? There seems to be a scrapped cEnableTech Effect Type, which no longer works. I can manually active the techs via triggers, but I would prefer to do most of my stuff with scripts.

Thanks in advance! Hypno

How about

xsEffectAmount(cAttributeEnable, 316, 0, 0, 1)

or

xsEffectAmount(cAttrSetState, 316, 0,1, 1)

?

I got it working, I had use attritube 2 (force enable)

xsEffectAmount(cModifyTech, 47, cAttrSetState, 2 ) // enables chemistry

1 Like