View Issue Details

IDProjectCategoryView StatusLast Update
0000477Gameplay + OpenGL[All Projects] Featurepublic2017-03-29 21:46
Assigned To 
Status resolvedResolutionfixed 
Summary0000477: Implement the rest of the CVar functions into ZScript.
DescriptionSo far, GetCVar is in ZScript. However, ACS currently has GetCVarString, GetUserCVar, and GetUserCVarString, as well as the Set equivalents. I just ran into a block with checking a user CVar in ZScript, and though it currently can be done via ACS, it'd be good to have these implemented as well.
TagsNo tags attached.



Graf Zahl

Graf Zahl

2017-03-28 14:31

administrator   ~0001134

GetCVarString has been added.
Blue Shadow

Blue Shadow

2017-03-29 02:39

reporter   ~0001158

One thing: the function's return type is set as double in zscript/actor.txt, instead of string.


2017-03-29 21:46

reporter   ~0001180

I've been told that GetCVar has been depreciated though as using the cvar directly as a variable works. The main thing I suppose is the UserCVar functions.

Issue History

Date Modified Username Field Change
2017-03-24 23:30 Minigunner New Issue
2017-03-28 14:31 Graf Zahl Status new => resolved
2017-03-28 14:31 Graf Zahl Resolution open => fixed
2017-03-28 14:31 Graf Zahl Note Added: 0001134
2017-03-29 02:39 Blue Shadow Note Added: 0001158
2017-03-29 21:46 Minigunner Note Added: 0001180