Search found 7 matches

by Mopzilla
Tue May 26, 2020 4:34 pm
Forum: Cheat Engine
Topic: [HELP] Change Group value using Script
Replies: 12
Views: 4478

[HELP] Change Group value using Script

[QUOTE="happyTugs, post: 136975, member: 39952"]<br /> If the 'existing record' is a script, then simply append it to the script itself.<br /> [CODE=lua][ENABLE]<br /> {$LUA}<br /> if not syntaxcheck then<br /> getAddressList().getMemoryRecordByDescription('nameOfHeader').value = 1<br /> -- if you h...
by Mopzilla
Tue May 26, 2020 4:09 pm
Forum: Cheat Engine
Topic: [HELP] Change Group value using Script
Replies: 12
Views: 4478

[HELP] Change Group value using Script

[QUOTE="happyTugs, post: 136973, member: 39952"]<br /> Did you even look at the example?<br /> If the 'existing record' is a header, then no.<br /> The header is not a script; therefore, you make a script, give it a name, put that name into the script, and use that as the header.<br /> Is that too d...
by Mopzilla
Tue May 26, 2020 3:55 pm
Forum: Cheat Engine
Topic: [HELP] Change Group value using Script
Replies: 12
Views: 4478

[HELP] Change Group value using Script

[QUOTE="happyTugs, post: 136968, member: 39952"]

Make the script the header and supply the given name

[/QUOTE]

Is this the only way? Is it not possible to attach a script to an existing record?
by Mopzilla
Tue May 26, 2020 3:45 pm
Forum: Cheat Engine
Topic: [HELP] Change Group value using Script
Replies: 12
Views: 4478

[HELP] Change Group value using Script

[QUOTE="happyTugs, post: 136966, member: 39952"]<br /> [CODE]{$LUA} :: lets CE know that Lua syntax is being used<br /> if syntaxcheck then return end :: stop CE from executing lua code if it's performing a syntaxcheck<br /> getAdressList() :: returns the cheat table 'Addresslist' UserData object<br...
by Mopzilla
Tue May 26, 2020 12:51 pm
Forum: Cheat Engine
Topic: [HELP] Add Script to existing record
Replies: 0
Views: 1057

[HELP] Add Script to existing record

I am using a cheat table for a game, but it has some major flaws that I wish to improve. I have improved a lot of it - but I can improve it further.<br /> <br /> Such problems mean I have to manually change the value from 0 to 1 [B]and [/B]select the record.<br /> <br /> I wanted to attach a script ...
by Mopzilla
Tue May 26, 2020 12:43 pm
Forum: Cheat Engine
Topic: [HELP] Change Group value using Script
Replies: 12
Views: 4478

[HELP] Change Group value using Script

[QUOTE="happyTugs, post: 136902, member: 39952"]<br /> One way using lua.[CODE=cea]{$LUA}<br /> if syntaxcheck then return end<br /> [ENABLE]<br /> getAddressList().getMemoryRecordByDescription('nameOfHeader').value = 1<br /> <br /> [DISABLE]<br /> getAddressList().getMemoryRecordByDescription('name...
by Mopzilla
Tue May 26, 2020 4:40 am
Forum: Cheat Engine
Topic: [HELP] Change Group value using Script
Replies: 12
Views: 4478

[HELP] Change Group value using Script

I have managed to create a header/group using the assembly so I can script it.<br /> <br /> I want this group to enable all children and set their values to 1 when it is selected.<br /> <br /> I can do this easier by just enabling the options for the group where if it is selected then so are the chi...