PinPoint Expert Cheater
Reputation: 10
Joined: 07 Apr 2016 Posts: 223 Location: Scotland
|
Posted: Tue Apr 19, 2016 5:13 pm Post subject: Trainer making, one button for more than one script? |
|
|
Im trying to make a toggle button work for 3 different scripts i have in my cheat table. I am unsure how to link the scripts together. can anyone help?
been using format like:
| Code: | function CEToggleBox3Click(sender)
if (checkbox_getState(UDF1.CEToggleBox3) == 1) then
autoAssemble([[
script enable part
)]]
else
autoAssemble([[
script disable part
)]] |
the first script will set 2 addresses to a certain value and the other 2 scripts will nop the opcodes associated with the addresses changed in the first script. it all works fine in the cheat table when they are all activated at the same time in order
|
|