Build31LuaChanges

From Data Realms Wiki

Revision as of 10:07, 28 March 2015 by Administrator (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Exposed MinThrowVel and MaxThrowVel for ThrownDevice


MOSRotating
        property GibWoundLimit
        property GibImpulseLimit
        property WoundCount, read only
        collection Wounds
        function int RemoveWounds(int amount), returns damage caused by those wounds
        function GetStringValue(string key), return string, or "" if value does not exist
        function GetNumberValue(string key), returns number, or 0 if value does not exist
        function GetObjectValue(string key), return Entity pointer, or nil if value does not exist
        function SetStringValue(string key, string value)
        function SetNumberValue(string key, number value)
        function SetObjectValue(string key, Entity * value)
        function RemoveStringValue(string key)
        function RemoveNumberValue(string key)
        function RemoveObjectValue(string key)
        function StringValueExists(string key)
        function NumberValueExists(string key)
        function ObjectValueExists(string key)
       
Attachable
        property DamageMultiplier, r/w
        property JointStrength, r/w

AEmitter
        property BurstDamage, read only
        property EmitDamage, read only

Actor
        property MaxHealth
        function RemoveAnyRandomWounds(int  amount) , Removes a specified amount of wounds from the actor and all standard attachables.
       
MovableMan
        function GetTeamMOIDCount(int team), returns MOID count which belong to specified team

MetaPlayer
        property NativeCostMultiplier, read only
       
HeldDevice
        property StanceOffset, r/w, returns SharpStanceOffset if SharpAim > 0, sets only StanceOffset
        property SharpStanceOffset, r/w
        function SetOneHanded
       
HDFirearm
        property FullAuto, r/w
       
AHuman:
        property JetTimeLeft, r/w
        property JetTimeTotal, r/w
       
SceneMan:
        function RemoveOrphans(int posX, int posY, int radius, int maxArea, bool remove) , max radius is 11, returns the area of terrain to be removed
       
ThrownDevice:
        property MinThrowVel, r/w
        property MaxThrowVel, r/w
       
SettingsMan:
        property PrintDebugInfo, bool, r/w
                Prints when global scripts are started and ended
                Prints how many units were removed at the start of Metafight
               
Activity:
        function GetTeamAISkill(team)

        function SetTeamAISkill(team, skill)
Personal tools