Global Functions
This page outlines the various Strata Hammer AngelScript global functions.
FindMaterial
Material@ FindMaterial(const string&in name)
GetDefaultTextureName
string GetDefaultTextureName()
abs
float abs(float)
acos
float acos(float)
asin
float asin(float)
atan
float atan(float)
atan2
float atan2(float, float)
ceil
float ceil(float)
closeTo
bool closeTo(float, float, float = 0.00001f)
bool closeTo(double, double, double = 0.0000000001)
cos
float cos(float)
cosh
float cosh(float)
floor
float floor(float)
fpFromIEEE
float fpFromIEEE(uint)
double fpFromIEEE(uint64)
fpToIEEE
uint fpToIEEE(float)
uint64 fpToIEEE(double)
fraction
float fraction(float)
getExceptionInfo
string getExceptionInfo()
join
string join(const string[]&in, const string&in)
log
float log(float)
log10
float log10(float)
pow
float pow(float, float)
print
void print(const string&in)
rint
float rint(float)
sin
float sin(float)
sinh
float sinh(float)
sqrt
float sqrt(float)
tan
float tan(float)
tanh
float tanh(float)
throw
void throw(const string&in)