- Messages
- 34,546
- Country

Henry said:Sample code? Oooh YES, please!
This is how the standard animation trigger looks like:
Code:
VAR_BASE_OVERRIDE 0
IFIN1 at_5, 07C2h, 1200h, 1200h
IFIN1 at_6, 6h, 0, 0
SETWRD 6h, 1
at_6 label word
BGL_JUMP_32 at_8
at_5 label word
IFIN1 at_7, 6h, 3, 3
SETWRD 6h, 4
at_7 label word
at_8 label word
BGL_JUMP_32 at_10
at_9 label word
SETWRD 6h, 0
at_10 label word
This trigger should trigger on both 112.00 and 113.00 as NAV2 frequency.
Code:
VAR_BASE_OVERRIDE 0
IFIN1 at_5a, 07C2h, 1200h, 1200h
BGL_JUMP_32 at_5b
at_5a label word
IFIN1 at_5, 07C2h, 1300h, 1300h
at_5b label word
IFIN1 at_6, 6h, 0, 0
SETWRD 6h, 1
at_6 label word
BGL_JUMP_32 at_8
at_5 label word
IFIN1 at_7, 6h, 3, 3
SETWRD 6h, 4
at_7 label word
at_8 label word
BGL_JUMP_32 at_10
at_9 label word
SETWRD 6h, 0
at_10 label word
