🎲CET and Codeware

How to make the most of psiberx's script expansion framework

Documentation

This page is a stub. If you would like to expand it, please sign up and get cracking!!

You can find Codeware's existing documentation at the wiki on psiberx's github

Known problems (and solutions)

Accessing references

As of Mar 2024, you can't access rRef or raRef natively via CET:

-- this does not work
ComponentParser.GetMeshComponent(Game.GetPlayer(), 't0_000_pwa_fpp__torso')

This will most likely return nil or crash the game.

Even if it does not, no reference is kept in memory: you're effectively working on a copy and there is currently no way to pass your changes back to the game.

Currently, the only way to access resources is via Codeware, which will do its best to sync your changes with the actually-existing object.

Last updated