ChangeSVariables

<kuid:131986:1005>

Author: atilabarut
Kind: drivercommand
Build: 2.5
Size: 16.06KB
Uploaded: 2019-06-17
Loadings:
155
-
0
+

ChangeSVariables

A Driver schedule command to create and change session variables. The session variables are created by using the InputTable rule (kuid:131986:1012) available on DLS. In order to create (and)or change session variables, do the following steps. (1) Download and install the InputTable rule from the DLS. (2) Edit InputTable rule andtype the following on a new line:

svar,SVNAME,SVOPER,SVNUM

where 'svar' : the command name recognized by the driver schedule command.
'SVNAME' : session variable name
'SVOPER' : arithmetical operations on SVNAME. It be set to 'set' to assigns an integer,
'inc' to increase and 'dec' to decrease value of the session variable..
'SVNUM' : corresponding value to assign, increase, or decrease the svname. Must be an integer.

ex: svar,myvar,set,5 (equivalent to setting myvar=5)
svar,myvar,inc,1 (equivalent to setting myvar=myvar+1)
svar,myvar,dec,1 (equivalent to setting myvar=myvar-1)

(3) Once a set of such command style statements are added to InputTable rule, they will appear once the ChangeSVariables command is launched.

Important: Session variables must be of integer type. DO NOT USE floating point numbers/operations.

NOTE: This command is identical to ChangeSVariablesCommand in TRS2004

Author: atilabarut

    ChangeSVariables
  • changesvariables.texture.txt 41 bytes
  • changesvariablescommand.gs 3.84KB
  • changesvariablesschedulecommand.gs 2.53KB
  • config.txt 2.64KB
  • tag.tga 64.04KB
  • thumbnail.jpg 7.30KB

Фотографии пользователей

Еще никто не добавил фото этого объекта