Difference between revisions of "Template:AddScriptToTable"

From Cheat Engine
Jump to navigation Jump to search
(Created page with '# If you don't have an ''auto assemble'' form visiable open one, '''on the Cheat Engine main form press ''Crtl+Alt+A''''' # If you haven't added ''enable'' and ''disable'' sectio…')
 
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
# This should create a new memory record on the cheat table address list.
 
# This should create a new memory record on the cheat table address list.
 
#:[[File:Tutorials.AddScriptToTable.AssignToTable.CTScript.01.png|border]]
 
#:[[File:Tutorials.AddScriptToTable.AssignToTable.CTScript.01.png|border]]
 
  
 
'''Note: Cheat table scripts require ''enable'' and ''disable'' sections.'''
 
'''Note: Cheat table scripts require ''enable'' and ''disable'' sections.'''
Line 28: Line 27:
 
<span style="color:rgb(117, 113, 94);">//// --------------------  Disable Section  --------------------</span>
 
<span style="color:rgb(117, 113, 94);">//// --------------------  Disable Section  --------------------</span>
 
</p>
 
</p>
 +
 +
* The main section is ran when enabling and disabling.
 +
* The enable section is ran when enabling.
 +
* The disable section is ran when disabling.

Latest revision as of 05:34, 18 April 2018

  1. If you don't have an auto assemble form visiable open one, on the Cheat Engine main form press Crtl+Alt+A
  2. If you haven't added enable and disable sections, then On the auto assemble form click template then click cheat table framework code.
    Tutorials.AddScriptToTable.AssignToTable.Template-CTFramework.01.png
  3. On the auto assemble form menu click file then click assign to current cheat table.
    Tutorials.AddScriptToTable.AssignToTable.01.png
  4. This should create a new memory record on the cheat table address list.
    Tutorials.AddScriptToTable.AssignToTable.CTScript.01.png

Note: Cheat table scripts require enable and disable sections.

Code:

//// -------------------- Main Section --------------------- [ENABLE] //// -------------------- Enable Section --------------------- [DISABLE] //// -------------------- Disable Section --------------------

  • The main section is ran when enabling and disabling.
  • The enable section is ran when enabling.
  • The disable section is ran when disabling.