-
Notifications
You must be signed in to change notification settings - Fork 0
EarthOrb
SittingFox edited this page Feb 18, 2015
·
10 revisions
One of the elemental orb types in CodeSpells. It is currently the only one available. Its powers are associated with controlling the rocks and ground. The power to "grab" rocks can work on other objects, giving Earth Spells even more uses.
| Variables | |
|---|---|
| power_lowerSandActivated | Whether or not to lower sand beneath the orb. |
| power_lowerSandRadius | The size of the area to lower sand. |
| power_liftSandActivated | Whether or not to raise sand beneath the orb. |
| power_liftSandRadius | The size of the area to raise sand. |
| Functions | |
|---|---|
| breakPhysicalConnections | Break any attachments the orb has with an object. |
| createPhysicalConnection | Create an attachment with the orb and another object. |
| lowerSand | Controls lowering sand beneath the orb. |
| liftSand | Controls raising sand beneath the orb. |
| Variables | |
|---|---|
| distance | Whether or not to lower sand beneath the orb. |
| drawConnectionToOwner | The size of the area to lower sand. |
| connectionToOwnerOffset | Whether or not to raise sand beneath the orb. |
| enabled | Whether or not to lower sand beneath the orb. |
| isOrbitting | Whether or not to lower sand beneath the orb. |
| lifeTime | Whether or not to lower sand beneath the orb. |
| localPositionToOwner | Whether or not to lower sand beneath the orb. |
| lockedRelativeRotation | Whether or not to lower sand beneath the orb. |
| lockedToRotation | Whether or not to lower sand beneath the orb. |
| lockRelativeToOwner | Whether or not to lower sand beneath the orb. |
| maxOrbSpeed | Whether or not to lower sand beneath the orb. |
| orbitCurrentRotation | Whether or not to lower sand beneath the orb. |
| orbitDistance | Whether or not to lower sand beneath the orb. |
| orbitOffset | Whether or not to lower sand beneath the orb. |
| orbitRotationalSpeed | Whether or not to lower sand beneath the orb. |
| orbitRotationOffest | Whether or not to lower sand beneath the orb. |
| orbittingObject | Whether or not to lower sand beneath the orb. |
| owner | The size of the area to raise sand. |
| shouldDestroy | Whether or not to lower sand beneath the orb. |
| shooter | Whether or not to lower sand beneath the orb. |
| Functions | |
|---|---|
| CheckOwnerShooter | Create an attachment with the orb and another object. |
| ClosestPointOnLine | Create an attachment with the orb and another object. |
| DepleteMana | Break any attachments the orb has with an object. |
| destroySelf | Create an attachment with the orb and another object. |
| disableOrbit | Create an attachment with the orb and another object. |
| distanceToOwner | Controls lowering sand beneath the orb. |
| distanceToPlayer | Create an attachment with the orb and another object. |
| flattenRotationHorizontal | Create an attachment with the orb and another object. |
| flattenRotationVertical | Create an attachment with the orb and another object. |
| freezeCells | Create an attachment with the orb and another object. |
| heatCells | Create an attachment with the orb and another object. |
| lockToPlayerRotation | Controls raising sand beneath the orb. |
| lockRelativeTo | Create an attachment with the orb and another object. |
| makeChildOfPlayerLookOrb | Create an attachment with the orb and another object. |
| OnDestroy | Create an attachment with the orb and another object. |
| orbitOwner | Create an attachment with the orb and another object. |
| orbitPlayer | Create an attachment with the orb and another object. |
| playerLookPoint | Create an attachment with the orb and another object. |
| pointAtOwner | Whether or not to lower sand beneath the orb. |
| pointAtPlayer | Whether or not to lower sand beneath the orb. |
| pointAwayFromOwner | Create an attachment with the orb and another object. |
| pointAwayFromPlayer | Create an attachment with the orb and another object. |
| setVelocity | Create an attachment with the orb and another object. |
| StartOrb | Create an attachment with the orb and another object. |
| turnDown | Create an attachment with the orb and another object. |
| turnLeft | Create an attachment with the orb and another object. |
| turnToPlayerLookPoint | Create an attachment with the orb and another object. |
| turnRight | Create an attachment with the orb and another object. |
| turnUp | Create an attachment with the orb and another object. |
| unlockRelativeTo | Create an attachment with the orb and another object. |
| unlockToPlayerRotation | Whether or not to lower sand beneath the orb. |
| UpdateNetworking | Create an attachment with the orb and another object. |
| Variable | ||
|---|---|---|
| airMana | Single | Amount of Air Mana remaining. |
| dead | Boolean | Is it dead or not dead? |
| earthMana | Single | Amount of Earth Mana remaining. |
| fireMana | Single | Amount of Fire Mana remaining. |
| waterMana | Single | Amount of Water Mana remaining. |
| Functions | |
|---|---|
| AddAirMana | Increase amount of Air Mana. |
| AddEarthMana | Increase amount of Earth Mana. |
| AddFireMana | Increase amount of Fire Mana. |
| AddWaterMana | Increase amount of Water Mana. |
| DepleteAirMana | Decrease amount of Air Mana. |
| DepleteEarthMana | Decrease amount of Earth Mana. |
| DepleteFireMana | Decrease amount of Fire Mana. |
| DepleteWaterMana | Decrease amount of Water Mana. |
| Kill | Kills object. |