Skip to end of metadata
Go to start of metadata

WIP

 

General Commands

  • General Commands 
  • Audio Commands 
  • Logbook Commands 
  • Fly Commands 
  • Trade Commands 
  • General Object Commands 
  • Universe and Sector Commands 
  • Other

»» Script Calls 

»» Math 

    • <RetVar> = = fixed sin <Var/Number> 
    • <RetVar> = = fixed cos <Var/Number> 
    • <RetVar> = square root of <Var/Number> 

»» Commands/Signals 

    • WiP <RefObj> connect ship command/signal <Object Command/Signal> to script <Script Name> with prio <Var/Number> 
    • <RefObj> set ship command/signal <Object Command/Signal> to global default behaviour 
    • <RefObj> ignore ship command/signal <Object Command/Signal>
    • <RefObj> add secondary signal: signal=<Object Signal>, script=<Script Name>, prio=<Var/Number>, name=<Var/String> 
    • <RefObj> remove secondary signal: signal=<Object Signal>, name=<Var/String>
    • global secondary signal map: add signal=<Object Signal> race=<Var/Race> class=<Var/Class> script=<Script Name> prio=<Var/Number> name=<Var/String> 
    • global secondary signal map: remove signal=<Object Signal> race=<Var/Race> class=<Var/Class> name=<Var/String>
    • global script map: set key=<Object Command/Signal>, class=<Var/Class>, race=<Var/Race>, script=<Script Name>, prio=<Var/Number> 
    • global script map: remove key=<Object Command/Signal>, class=<Var/Class>, race=<Var/Race>
    • global script map: ignore key=<Object Command/Signal>, class=<Var/Class>, race=<Var/Race> 
    • set script command upgrade: command=<Object Command/Signal> upgrade=<Var/Ware>
    • <RetVar> = get script command upgrade: command=<Object Command/Signal> 
    • set script command upgrade: command=<Object Command/Signal> upgrade=<Var/Ware> script=<Script Name>
    • set ship command preload script: command=<Object Command/Signal> script=<Script Name> 
    • global script map for wings: key=<Var/Wing Command> race=<Var/Race> script=<Script Name> prio=<Var/Number>
    • set script command upgrade: wing command=<Var/Wing Command> upgrade=<Var/Ware> 
    • set script command upgrade: wing command=<Var/Wing Command> upgrade=<Var/Ware> script=<Script Name>
    • set wing command preload script: wing command=<Var/Wing Command> script=<Script Name> 
    • add ship custom command: id=<Var/Number>
    • remove ship custom command: id=<Var/Number> 
    • <RetVar> = ship custom command exists: id=<Var/Number>
    • set script command: <Object Command/Signal> 
    • <RetVar/IF> = get script command
    • set script command target: <Value> 
    • <RetVar/IF> get script command target
    • <RefObj> connect wing command/signal <Object Command/Signal> to script <Script Name> with prio <Var/Number> 
  • <RetVar/IF><Expression>
  • inc <RetVar> =
  • dec <RetVar> =
  • <RetVar/IF> wait <Var/Number> ms
  • <RetVar/IF> wait randomly from <Var/Number> to <Var/Number> ms
  • <Var/Number> = random value from 0 to <Var/Number> -1
  • <Var/Number> = random value from <Var/Number> to <Var/Number> -1
  • <Comment>
  • <RetVar> = script engine version
  • <RetVar> = get script version
  • <RetVar/IF> is a new script version available
  • <RetVar> = get script name
  • <RetVar> = = get script priority
  • set script priority to <Var/Number>
  • infinite loop detection enabled=<Var/Number>
  • <RetVar/IF> is script with prio <Var/Number> on stack
  • <RetVar/IF> get task ID
  • <RetVar/IF> get PID
  • enable signal/interrupt handling: <Var/Number>
  • <RetVar/IF> is signal/interrupt handling on
  • WiP <RefObj> set local variable: name=<Var/String> value=<Value>
  • WiP <RetVar/IF><RefObj> get local variable: name=<Var/String>
  • WiP set global variable: name=<Var/String> value=<Value>
  • WiP <RetVar/IF> get global variable: name=<Var/String>
  • <RetVar> = datatyp[ <Value> ]
  • <RetVar/IF> is datatyp[ <Value> ] == <Var/Script Data Type>
  • <RetVar> = read text: page=<Var/Number> id=<Var/Number>
  • <RetVar/IF> = read text: page id=<Var/Number>, from <Var/Number> to <Var/Number> to array, include empty=<Var/Boolean>
  • <RetVar/IF> = read text: page id=<Var/Number>, id=<Var/Number> exists
  • <RetVar> = sprintf: fmt=<Var/String><Value><Value><Value><Value><Value>
  • <RetVar> = sprintf: pageid=<Var/Number> textid=<Var/Number><Value><Value><Value><Value><Value>
  • load text: id=<Var/Number>
  • WiP <RetVar/IF> state of news article: page=<Var/Number> id=<Var/Number>
  • WiP set state of news article page=<Var/Number> id=<Var/Number> to <Var/Number>
  • <RetVar/IF> system date is month=<Var/Number>, day=<Var/Number>
  • <RetVar> = playing time
  • <RetVar/IF> is plot <Var/Number> state flag <Var/Number>
  • <RetVar> = register hotkey <Var/String> to call script <Script Name>
  • <RetVar> = register hotkey <Var/String> to call script name <Var/String>
  • unregister hotkey <Var/Number>
  • <RetVar> = last load time
  • WiP <RetVar/IF><RefObj> get all local variable keys, starting with=<Var/String>
  • WiP <RetVar/IF> get all global variable keys, starting with=<Var/String>
  • WiP <RetVar/IF><RefObj> get local variables: regular expression=<Var/String>
  • WiP <RetVar/IF> get global variables: regular expression=<Var/String>
  • WiP <RetVar> = get maximum, <Var/Number><Var/Number><Var/Number><Var/Number><Var/Number>

 


 

31.01.2016 - Erstellung X2

Write a comment…