Fulltext results:
- world @script:module
- type //thingId// and returns an array of [[#World.Thing]] references. #@Identifier_HTML~spawnThing~@# ( #@Arg_HTML~Text,type~@#, #@Arg_HTML~Array,pos~@#, #... #@Arg_HTML~Number,flags~@# = 0 ) Spawns a new thing at the specified coordinates //pos//. The //type// must be an existing [[ded:Thing]] ID, for example "POSSESSED". The //pos// can b
- defs @script:module
- used as indices in the ''states'' array of [[ded:thing|Thing definitions]]. The ''Defs.SDN_*'' constants are used as indices in the ''sounds'' array of [[ded:thing|Thing definitions]]. ===== Functions ===== The following return the internal index number for a give
- app @script:module
- the player's current weapon. #@Identifier_HTML~thing~@# ( ) Returns the player mobj as a [[script:module:world#worldthing|World.Thing]] object.
- audio @script:module
- UD sound effects. Use [[script:module:world#World.Thing|World.Thing.startSound()]] to play a sound originating from a [[ded:thing]]. #@Identifier_HTML~setAmbientSequence~@# ( #
- reference
- with_stateanimator|Initializing the animator of a thing (onInit)]] * [[assets:scripting_with_stateanimator|When receiving damage or when the thing state changes]] * [[assets:model#timelines|At... ds]] * [[.module:World#flags|Query and change thing flags]] * [[.module:World#health|Query hit po... sition, and momentum]] * [[.module:World#worldthing|Change momentum]] * [[ded:thing#on_touch|"On
- records @script:walkthrough
- rint myrec['subrec'] print myrec['subrec']['something'] print members(myrec)['newMember'] Members ca... vidual variables. del a del myrec.subrec.something If the variable owns a record, the record will b... class member local member Note that there is nothing special about a class — it is simply a record tha... like any other record. In fact, the only special thing about class instantiation is that behavior of the
- exceptions @script:walkthrough
- ion of the script to be aborted. try: print 'Nothing thrown yet.' catch: print 'Skipped.' ===== Thr
- statements_and_compounds @script:walkthrough
- =', z z = 3 $ z ?= 10 # this one does nothing $ print 'z =', z z = 3 ==== const ==== Y