Fulltext results:
- reference
- ====== Doomsday Script reference guide ====== This article describes the Doomsday Script language and its role in [[:Doomsday 2]]. ===== Overview ===== Doomsday Script is a scripting language with features such as a c... el#timelines|3D model asset animation]]. Doomsday Script is not a compiled language and thus is not intend
- miscellaneous @script:walkthrough
- Scopes ^ ^ -> ====== Miscellaneous ====== ===== Script return value ===== In certain circumstances, it is useful to return a value from the entire script itself, and not just from a function. For example, the argument to ''eval()'' is a script whose return value is returned to the caller. The script return value is the final evaluated expression of the script. if True
- core @script:module
- rns the current search path for imported Doomsday Script modules. The return value is an array: [ , /modules, /home/modules, /data... @# = 0 ) Starts a new animation from the current value to //target//. The transition to the new target value will take //span// seconds. If //delay// is not ze... ered to be included in //span// so increasing the value of //delay// does not change the transition span
- app @script:module
- entifier of the currently loaded game plugin. The return value is text, for instance for the Doom game plugin: ... eger~@# ( #@Arg_HTML~Number,id~@# ) Query the value of an internal engine variable. The //id// is one... @# ( #@Arg_HTML~Number,id~@#, #@Arg_HTML~Number,value~@# ) Sets the value of an internal engine variable. The //id// is one of the constants in the App mod
- basic_expressions @script:walkthrough
- e ''eval()'' function evaluates its argument as a script and returns the return value from it. The script gets runs in the same namespace where ''eval()'' was called. $ a = eval(""" 'arg'
- records @script:walkthrough
- s ====== Records are the foundation of Doomsday Script. Each namespace and module is a record, each obje... y still be referenced by variables in scripts. A script variable may own a record, or simply reference on... t-in functions ''members()'' and ''subrecords()'' return dictionaries containing the corresponding members... created or changed using ''[]''. However, the key value still has to be a text string that contains no pe