ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:getsyncvardefault

GetSyncVarDefault

num GetSyncVarDefault(int tid, num defaultvalue)

num - any numeric type (int or fixed)

Description

Returns the variable synchronized using SyncVariable. If the variable has not been synchronized even once yet, returns the specified default value.

functions/getsyncvardefault.txt · Last modified: 2017/07/16 17:30 by korshun