This is an old revision of the document!
~~DISCUSSION~~ <- Alpha List of Commands <-class link <-PRPL home <- Game 4 home
case STATEMENT.GETOWNEDPARTICLECOUNT: i1 = GetIntFromStack(); //uid UnitManager um = UnitManager.GetUnitByUID(i1); if (um != null) { stack.Push(new Data(um.particleCreationCount)); } else { //TODO: Lookup ship or other type that can own particles stack.Push(new Data(0)); }
Arguments | Result | Notation |
---|---|---|
i1 i2 f4 f3 f2 f1 – |
Standard CRPL | arguments command |
Warp notation | command (arguments) |
ShowTraceLog
Same example in Warp notation:
showtracelog