LuaLibraryTracker.wiki
changeset 1362 e6cdbd0269d8
parent 1361 367b835ac926
child 1363 77bece04d563
equal deleted inserted replaced
1361:367b835ac926 1362:e6cdbd0269d8
    18 This will kill all hogs if a target is destroyed.
    18 This will kill all hogs if a target is destroyed.
    19 
    19 
    20 To see a commented example of the tracker in use by a script you can look at
    20 To see a commented example of the tracker in use by a script you can look at
    21 [https://hg.hedgewars.org/hedgewars/file/default/share/hedgewars/Data/Scripts/Multiplayer/Random_Weapon.lua Random Weapons].
    21 [https://hg.hedgewars.org/hedgewars/file/default/share/hedgewars/Data/Scripts/Multiplayer/Random_Weapon.lua Random Weapons].
    22 
    22 
       
    23 <toc depth="3"/>
    23 == Tracking functions ==
    24 == Tracking functions ==
    24 === `trackGear(gear)` ===
    25 === `trackGear(gear)` ===
    25 Will keep track of the gear.
    26 Will keep track of the gear.
    26 
    27 
    27 === `trackDeletion(gear)` ===
    28 === `trackDeletion(gear)` ===