LuaAPI.wiki
changeset 1512 06e3cd099d4b
parent 1511 3c0c822ecdb9
child 1513 18582093d894
equal deleted inserted replaced
1511:3c0c822ecdb9 1512:06e3cd099d4b
   702 
   702 
   703 <code language="lua">    vgear = AddVisualGear(...)
   703 <code language="lua">    vgear = AddVisualGear(...)
   704     DeleteVisualGear(vgear) -- Delete the newly created visual gear.</code>
   704     DeleteVisualGear(vgear) -- Delete the newly created visual gear.</code>
   705 
   705 
   706 === <tt>!SetGearValues(gearUid, Angle, Power, WDTimer, Radius, Density, Karma, DirAngle, AdvBounce, ImpactSound, ImpactSounds, Tint, Damage, Boom)</tt> ===
   706 === <tt>!SetGearValues(gearUid, Angle, Power, WDTimer, Radius, Density, Karma, DirAngle, AdvBounce, ImpactSound, ImpactSounds, Tint, Damage, Boom)</tt> ===
   707 Sets various gear value for the specified gear (`gearUid`). The meaining of each value often depends on the gear type. See the documentation on !GetGearValues for a brief description of the gear values.
   707 Sets various gear value for the specified gear (`gearUid`). The meaining of each value often depends on the gear type. See the documentation on !GetGearValues for a brief description of the gear values. If `gearUid` is invalid or the gear does not exist, nothing happens.
   708 
   708 
   709 Set `nil` for each value you do not want to change.
   709 Set `nil` for each value you do not want to change.
   710 
   710 
   711 Example:
   711 Example:
   712 <code language="lua">
   712 <code language="lua">