1.15:修订间差异

→‎1.15p11:​添加luke之后加上的日志,待翻译
标签移动版编辑 移动版网页编辑 高级移动版编辑
→‎1.15p11
标签移动版编辑 移动版网页编辑 高级移动版编辑
第835行:
*从其他单位读
Read on another unit: %{ parent.readUnitMemory('numArray', type='float[]')[0] }
*检查数组内包含
memory.unitArray.contains( self.attacking )
*另一种读的方式
Alt read on another unit: %{ self.readUnitMemory('numArray', type='number', index=0) }
第841行 ⟶ 第843行:
*数组内容可不断增加,但限制到10000
Arrays automatically resize but have a hard size limit of 10,000
Reduce array size with [action]*移除数组内的空位shrinkArrays:arrayName - Will remove any null or dead units,and Os from number arrays. Will shift over allindexes after the deleted entries.
*移除数组内的空位
Reduce array size with [action]shrinkArrays:arrayName - Will remove any null or dead units,and Os from number arrays. Will shift over allindexes after the deleted entries.
*也触发重复次数
Added [action]alsoTriggerActionRepeat - Dynamic number (Repeats the alsoTriggerAction call, index changed on each repeat) - Useful to create loops or work with arrays
336

个编辑