TheLord45 / amxpanel

Emulator for AMX panels
GNU General Public License v3.0
13 stars 1 forks source link

Command: ^ANI #7

Closed TheLord45 closed 5 years ago

TheLord45 commented 5 years ago

Run a button animation (in 1/10 second).

Syntax: "'^ANI-<vt addr range>,<start state>,<end state>,<time>'"

Variable: variable text address range = 1 - 4000. start state = Beginning of button state (0= current state). end state = End of button state. time = In 1/10 second intervals.

Example: SEND_COMMAND Panel,"'^ANI-500,1,25,100'" Runs a button animation at text range 500 from state 1 to state 25 for 10 second.

TheLord45 commented 5 years ago

This is basically done, because animations already work when they are defined by a button. This command is still missing.