User:CraftySentinel
Revision as of 02:28, 1 November 2013 by imported>CraftySentinel (I think I will just leave it with that)
Abs - Math (Example Piece)
Math Script ► Global Functions ► Abs
Calculates the absolute value of the number it is given.
Syntax
float Function abs(float afValue) native global
Parameters
afValue
- The value to get the absolute value of.
Return Value
The absolute value of the passed-in value.
Examples
float x = math.abs(5.0) ; x == 5
float y = math.abs(-5.0) ; y == 5
See Also
Hey, this here be my User page... It's not much to look at but hey who actually looks at peoples user pages?
I enjoy a good bit o modding started with Mount and Blade Warbands then moved onto Oblivion, X3, and now here I am contributing to this here Creation kit wiki.
Since I don't want you to leave empty handed here's a navbar of all Papyrus Script Objects enjoy:
Papyrus Script Objects |
---|
Action - Activator - ActiveMagicEffect - Actor - ActorBase - Alias - Ammo - Apparatus - Armor - ArmorAddon - AssociationType - Book - Cell - Class - ColorForm - CombatStyle - ConstructibleObject - Container - Debug - Door - EffectShader - Enchantment - EncounterZone - EquipSlot - Explosion - Faction - Flora - Form - FormList - Furniture - Game - GlobalVariable - Hazard - HeadPart - Idle - ImageSpaceModifier - ImpactDataSet - Ingredient - Input - Key - Keyword - LeveledActor - LeveledItem - LeveledSpell - Light - Location - LocationAlias - LocationRefType - MagicEffect - Math - Message - MiscObject - MusicType - ObjectReference - Outfit - Package - Perk - Potion - Projectile - Quest - Race - ReferenceAlias - Scene - Scroll - Shout - SKSE - SoulGem - Sound - SoundCategory - Spell - Static - StringUtil - TalkingActivator - TextureSet - Topic - TopicInfo - UI - Utility - VisualEffect - VoiceType - Weapon - Weather - WordOfPower - WorldSpace |