
Script function library
The ezeio
™
support most of the language constructs defined in the PAWN
language guide, including most of the functions for floating point math and
the “proposed function library”.
In addition, the following functions are also supported:
Index of ezeio specific functions
Configuration interface functions
SetOutput(outputno, cadence, [cutoff]).......................................92
GetOutputState(outputno)..........................................................92
GetInputValue(inputno)...............................................................93
SetInputValue(inputno, newvalue)..............................................93
GetInputCount(inputno)..............................................................94
SetInputCount(inputno, newcount).............................................94
GetInputState(inputno)...............................................................94
GetScheduleState(scheduleno)..................................................95
GetSystemStatus(item)..............................................................95
Calendar and time functions
GetSecond()...............................................................................96
GetMinute()................................................................................96
GetHour()...................................................................................96
GetDay().....................................................................................96
GetMonth().................................................................................96
GetYear()....................................................................................96
GetWeekday()............................................................................96
SetTimer([timerno], timeoutms, repeat)......................................97
Mathematical functions
Float:fabs(Float:value)................................................................98
fround(Float:value, [method])......................................................98
Float:ffract(Float:value)...............................................................98
Float:fsqrt(Float:value)................................................................98
Float:flog(Float:value, [Float:base])............................................98
Float:fpow(Float:value, Float:exponent)......................................99
Float:fsin(Float:value).................................................................99
Float:fcos(Float:value)................................................................99
Float:ftan(Float:value).................................................................99
Float:fasin(Float:value)...............................................................99
Float:facos(Float:value)..............................................................99
Float:fatan(Float:value)...............................................................99
Float:fatan2(Float:y, Float:x).......................................................99
random([max])............................................................................100
min(value1, value2)....................................................................100
max(value1, value2)...................................................................100
clamp(value, min, max)..............................................................100
Page 90 of 121