| View previous topic :: View next topic |
| Author |
Message |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Fri Feb 19, 2016 11:43 am Post subject: The romance of AA script and Lua script. Need help, thanks. |
|
|
Is it possible to link an "AA script" in the cheat table to a "Lua script"? So that the "AA script" can be activated by checking a checkbox, which is defined in the "Lua script". I will try my best to explain myself:
For example:
1. I have an "AA script" in the cheat table, which changes the value of health to 10;
2. I'v got a "Lua script" to perform a click function(like a checkbox);
3. can I somehow link the "AA script" to the "Lua script" so that when I click the checkbox, the "AA script" will be activated or executed, which increases the value of health to 10?
4. If I cannot link them, can I write "AA script" in the "Lua script" window?
Thanks a lot.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25813 Location: The netherlands
|
Posted: Fri Feb 19, 2016 12:00 pm Post subject: |
|
|
| Code: |
getAddressList().getMemoryRecordByDescription('entry with script').Active=true
|
and you can also use the autoAssemble() command
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Fri Feb 19, 2016 12:57 pm Post subject: |
|
|
| Dark Byte wrote: | | Code: |
getAddressList().getMemoryRecordByDescription('entry with script').Active=true
|
and you can also use the autoAssemble() command |
Thanks a lot. getAddressList() worked.
Final question:
I have seen something like this:
| Code: | function setHack_Information()
t =
{
{
'name',
[[AA Enable script]],
[[AA Disable script]]
}
}
end |
It's table that stores the AA script, and somehow execute the AA script by calling them from the table. My question is: what is the call command? Something like "call t[0][1]" if I want to execute the "AA Enable script"? Thanks.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Fri Feb 19, 2016 1:07 pm Post subject: |
|
|
| Code: | | autoAssemble(t[0][1]) |
Like DB provided.
|
|
| Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Fri Feb 19, 2016 1:56 pm Post subject: |
|
|
| Zanzer wrote: | | Code: | | autoAssemble(t[0][1]) |
Like DB provided. |
Oh, got it, thanks alot.
|
|
| Back to top |
|
 |
|