The "keyframe" Function

Syntax#

keyframe();
ArgumentTypeDescription
N/AN/ANo arguments

Description#

Initializes a segment of code containing VNgen animation script. Cannot be used in the regular qScript loop, but rather is intended for use in dedicated animation scripts. See Creating Custom Animations for full details.

Example#

if keyframe() {
anim_x = 50;
}