Skip to main content

The "vngen_event_get_label" Function

Syntax#

vngen_event_get_label([index]);
ArgumentTypeDescription
[index]integerOptional: The numeric index of the event to get label of

Description#

Returns the string label of the current active event, or "" if VNgen is not initialized in the running object.

Can also be used to return the label of an event by numeric index, if any is supplied.

Example#

if (vngen_event_get_label() != "") {
draw_text(x, y, vngen_event_get_label());
}