Avorion Script API Documentation

Random

function Random(Seed seed)

Returns

A new instance of Random

function Seed createSeed()

function vec2 get2DDirection()

function bool getBool()

function vec3 getDirection()

function float getFloat(var min, var max)

function int getInt(var min, var max)

function int getValueOfDistribution()

function vec3 getVector(var min, var max)

function unsigned int multitest(unsigned int tries, float probability)

function var setSeed(Seed seed)

Returns

nothing

function bool test(float probability)

Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7