-
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 | Single | ??? |
| drawConnectionToOwner | Boolean | Draw a line from the orb to the owner's staff? |
| connectionToOwnerOffset | Vector3 | ??? |
| enabled | Boolean | ??? |
| isOrbitting | Boolean | Is the orb circling around the player? |
| lifeTime | Single | The time since the spell started. |
| localPositionToOwner | Vector3 | ??? |
| lockedRelativeRotation | Quaternion | ??? |
| lockedToRotation | Boolean | Lock the orb to the player's rotation? |
| lockRelativeToOwner | Boolean | Lock the orb to the owner's position? |
| maxOrbSpeed | Single | ??? |
| orbitCurrentRotation | Single | ??? |
| orbitDistance | Single | The distance away to orbit around. |
| orbitOffset | Vector3 | Offset the orbit from the orbit point. |
| orbitRotationalSpeed | Single | The speed of the orbit. |
| orbitRotationOffest | Quaternion | The angle at which the orb revolves in orbit. |
| orbittingObject | OrbSpawner | The object for the orb to orbit around. |
| owner | OrbSpawner | The original starter of the spell. |
| shooter | PlayerOrbShoot | The reator of the orb. |
| shouldDestroy | Boolean | Should the orb be destroyed? |
| Functions | |
|---|---|
| CheckOwnerShooter | ??? |
| ClosestPointOnLine | Given a point, returns closest point on line between two other points. |
| DepleteMana | Decrease the amount of mana for multiple types. |
| 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. |
| lifeMana | Single | Amount of Life 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. |
| AddLifeMana | Increase amount of Life 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. |
| DepleteLifeMana | Decrease amount of Life Mana. |
| DepleteWaterMana | Decrease amount of Water Mana. |
| Kill | Kills object. |