• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

LUA Scripting

Started by sdc16064, July 16, 2022, 05:29:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sdc16064

Image1.jpg

I'm trying to learn LUA scripting. Is there a way to script these two different methods: Change all of the Rep 12's values (the second-to-last rep) to 0x00000000, and change all the values of "0x258F2000" to a different value, say "0x258D1000"?