Index

CreateOrb

CreateOrb(<-pos <-initData) ->orb

Description

Creates an orb at the specifid position. An orb is a blue jiggly ball of creeper. The init params control it's content, it initial velocity, and its behavior.
Extra information: Orbs deal 0.5 damage when directly damaging a non-impervious unit.
To clarify: The unit type is “airsacbubble”.
The possible values in initTable are:

Examples

Table("payload" 100
      "bounce" true
      "bounceshield" true
      "creeperdamps" false
      "destroywhenstill" false
      "destroywhendrytime" 60
      "releaseondestroy" false
      "velocity" V3(RandFloat 0.5 - 0.1 * 0.5 RandFloat 0.5 - 0.1 *)) ->initData
CreateOrb(V3(100 20 100) <-initData) ->orb

Index