Fulltext results:
- statements_and_compounds @script:walkthrough
- <- Operator expressions ^ ^ Exceptions -> ====== Statements and compounds ====== ===== Structure ===== Statements normally end at a newline character, unless ... re is a backslash at the end of a line. print 'Statement' print \ 'Statement' Semicolons can be used on one line to separate statements. print
- reference
- layer|Earthquake effect]] * **Things:** * [[ded:state#action|State action function]] * [[.module:World#attack|At... module:World#worldthing|Change momentum]] * [[ded:thing#on_touch|"On touch" and "On death" scripts]
- defs @script:module
- efs.SN_*'' constants are used as indices in the ''states'' array of [[ded:thing|Thing definitions]]. The ''Defs.SDN_*'' co... are used as indices in the ''sounds'' array of [[ded:thing|Thing definitions]]. ===== Functions ===... ( #@Arg_HTML~Text,name~@# ) #@Identifier_HTML~getStateNum~@# ( #@Arg_HTML~Text,stateId~@# ) #@Identifier_HTML~getThingNum~@# ( #@Arg_HTML~Text,thingId~@# )
- functions @script:walkthrough
- n is defined in the current scope using a ''def'' statement. ''def'' is a compound statement, so it must be either a single-line compound or ''end'' must be use... c1(): pass def func2() end The ''return'' statement is used to return a value from a function. ... def func5(a, b, c) Default values can be included. def func5(a, b='default', c=100) When calli
- app @script:module
- rt a new attack. This behavior is defined by the State definitions in Heretic's **objects.ded**. #@Identifier_HTML~setLocalQuake~@# ( #@Arg
- operator_expressions @script:walkthrough
- <- Basic expressions ^ ^ Statements and compounds -> ====== Operator expressions ====== ===== Addition ... [ 5, 6 ] An optional third parameter can be provided to specify the step size within the slice range.