# Texture Video Set Frame (Advanced)

Grammar — TextureVideoSetFrame slotName.slotComponent frame
FlagsNative | Function

Constructs and returns a TextureVideoSetFrame actor message. Sets the frame of a video texture that is playing on the specified slot. Works on actors with a model.

# Arguments

  • string — Slot Name
  • int — Slot Component
  • int — Frame

Returns — string<actormsg>

native string MakeMsgTextureVideoSetFrame(
	string slotName,
	int slotComponent,
	int frame,
);

Category: Actor / Message Constructors

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:1087

    // Automatic Variable Declarations
    // Implementation
    return MakeMsgTextureVideoSetFrame(TextureGetSlotName(lp_texture), TextureGetSlotComponent(lp_texture), lp_frame);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:982

    // Automatic Variable Declarations
    // Implementation
    return MakeMsgTextureVideoSetFrame(TextureGetSlotName(lp_texture), TextureGetSlotComponent(lp_texture), lp_frame);
}