Difference between revisions of "Tutorials:AddScriptToTable"

From Cheat Engine
Jump to navigation Jump to search
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Tutorial]]
 +
{{DISPLAYTITLE:Add Script To Table}}
 
== How to add script to table ==
 
== How to add script to table ==
  
# If you don't have an ''auto assemble'' form visiable open one, '''on the Cheat Engine main form press ''Crtl+Alt+A'''''
+
{{AddScriptToTable}}
# If you haven't added ''enable'' and ''disable'' sections, then On the ''auto assemble'' form '''click ''template''''' then '''click ''cheat table framework code'''''.
 
#:[[File:Tutorials.AddScriptToTable.AssignToTable.Template-CTFramework.01.png|border]]
 
# On the ''auto assemble'' form menu '''click ''file''''' then '''click ''assign to current cheat table'''''.
 
#:[[File:Tutorials.AddScriptToTable.AssignToTable.01.png|border]]
 
# This should create a new memory record on the cheat table address list.
 
#:[[File:Tutorials.AddScriptToTable.AssignToTable.CTScript.01.png|border]]
 
 
 
 
 
'''Note: Cheat table scripts require ''enable'' and ''disable'' sections.'''
 
 
 
:Code:
 
<!-- <pre>//// --------------------  Main Section  ---------------------
 
 
 
[ENABLE]
 
//// --------------------  Enable Section  ---------------------
 
 
 
[DISABLE]
 
//// --------------------  Disable Section  --------------------
 
 
 
</pre> -->
 
<p style="white-space:pre;font-family:'Lucida Console';display: block; overflow-x: auto; padding: 0.5em; background: rgb(35, 36, 31); color: rgb(248, 248, 242);"><span style="color: rgb(117, 113, 94);">//// --------------------  Main Section  ---------------------</span>
 
 
 
<span style="color:pink;font-weight:bold;">[ENABLE]</span>
 
<span style="color: rgb(117, 113, 94);">//// --------------------  Enable Section  ---------------------</span>
 
 
 
<span style="color:pink;font-weight:bold;">[DISABLE]</span>
 
<span style="color: rgb(117, 113, 94);">//// --------------------  Disable Section  --------------------</span>
 
</p>
 
  
  

Latest revision as of 19:10, 18 March 2019


How to add script to table[edit]

  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.


See also[edit]

Syntax Highlighter[edit]