Template:Function Link

From Rivals of Aether Unofficial Workshop Manual

Using this template allows you to produce consistent links to function pages, e.g. asset_get( asset )

Syntax[edit source]

{{Function Link|function_name|arguments|gml function?}}

Parameters[edit source]

A template that produces a formatted link to a function page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Function's name1 funcname

The function's name, formatted typically in camel case.

Example
draw_sprite
Page namerequired
Function arguments2 arguments

The required arguments for the function to run, separated by commas and spaces.

Example
sprite, subimage, x, y
Stringsuggested
is base GML3 gmlfunc

Whether the function is a base GML function.

Example
1
Booleanoptional

Examples[edit source]

{{Function Link|asset_get|name|}}

produces... asset_get( name )


{{Function Link|is_laststock}}

produces... is_laststock()


{{Function Link|draw_sprite|sprite, subimage, x, y|1}}

produces... draw_sprite( sprite, subimage, x, y ) (GML)


{{Function Link|gpu_pop_state||1}}

produces... gpu_pop_state() (GML)


Cookies help us deliver our services. By using our services, you agree to our use of cookies.