LuaAPI.wiki
changeset 1039 e312e2616b75
parent 1038 30a9877bf8e8
child 1040 291ce8641578
equal deleted inserted replaced
1038:30a9877bf8e8 1039:e312e2616b75
   474 
   474 
   475 === <tt>!GetHogClan(gearUid)</tt> ===
   475 === <tt>!GetHogClan(gearUid)</tt> ===
   476 Returns the clan ID of the specified hedgehog gear.
   476 Returns the clan ID of the specified hedgehog gear.
   477 
   477 
   478 === <tt>!GetHogTeamName(gearUid)</tt> ===
   478 === <tt>!GetHogTeamName(gearUid)</tt> ===
   479 Returns the name of the specified hedgehog gear’s team.
   479 Returns the name of the specified gear’s team. `gearUid` can be a hedgehog or a grave.
   480 
   480 
   481 === <tt>!GetHogName(gearUid)</tt> ===
   481 === <tt>!GetHogName(gearUid)</tt> ===
   482 Returns the name of the specified hedgehog gear.
   482 Returns the name of the specified hedgehog gear.
   483 
   483 
   484 === <tt>!GetEffect(gearUid, effect)</tt> ===
   484 === <tt>!GetEffect(gearUid, effect)</tt> ===
   817 
   817 
   818 === <tt>!SetHogName(gearUid, name)</tt> ===
   818 === <tt>!SetHogName(gearUid, name)</tt> ===
   819 Sets the name of the specified hedgehog gear.
   819 Sets the name of the specified hedgehog gear.
   820 
   820 
   821 === <tt>!SetHogTeamName(gearUid, name)</tt> ===
   821 === <tt>!SetHogTeamName(gearUid, name)</tt> ===
   822 Sets the team name of the specified hedgehog gear.
   822 Sets the team name of the specified gear. The gear can be a hedgehog or grave.
   823 
   823 
   824 === <tt>!SetWeapon(ammoType)</tt> ===
   824 === <tt>!SetWeapon(ammoType)</tt> ===
   825 Sets the selected weapon of `CurrentHedgehog` to one of the [AmmoTypes Ammo Type].
   825 Sets the selected weapon of `CurrentHedgehog` to one of the [AmmoTypes Ammo Type].
   826 
   826 
   827 Example:
   827 Example: