Difference between revisions of "Tutorials:AddScriptToTable"

From Cheat Engine
Jump to navigation Jump to search
Line 3: Line 3:
 
# If you don't have an ''auto assemble'' form visiable open one, '''on the Cheat Engine main form press ''Crtl+Alt+A'''''
 
# 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'' sections, then On the ''auto assemble'' form '''click ''template''''' then '''click ''cheat table framework code'''''.
 
# If you haven't added ''enable'' and ''disable'' sections, then On the ''auto assemble'' form '''click ''template''''' then '''click ''cheat table framework code'''''.
#:Note cheat table scripts require ''enable'' and ''disable'' sections.
 
 
#:[[File:Tutorials.AddScriptToTable.AssignToTable.Template-CTFramework.01.png|border]]
 
#:[[File:Tutorials.AddScriptToTable.AssignToTable.Template-CTFramework.01.png|border]]
 
# On the ''auto assemble'' form menu '''click ''file''''' then '''click ''assign to current cheat table'''''.
 
# On the ''auto assemble'' form menu '''click ''file''''' then '''click ''assign to current cheat table'''''.
Line 9: Line 8:
 
# 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.'''
 +
 +
:Code:
 +
<pre style='margin-left:5em;'>
 +
//// --------------------  Main Section  ---------------------
 +
 +
[ENABLE]
 +
//// --------------------  Enable Section  ---------------------
 +
 +
[DISABLE]
 +
//// --------------------  Disable Section  --------------------
 +
 +
</pre>
  
 
== See also ==
 
== See also ==
 
* [[Tutorials]]
 
* [[Tutorials]]

Revision as of 06:47, 15 March 2017

How to add script to table

  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  --------------------

See also