equal
deleted
inserted
replaced
63 === <tt>onGearDelete(gearUid)</tt> === |
63 === <tt>onGearDelete(gearUid)</tt> === |
64 |
64 |
65 <blockquote>This function is called when a new gear is deleted. Useful in |
65 <blockquote>This function is called when a new gear is deleted. Useful in |
66 combination with <tt>!GetGearType(gearUid)</tt>. |
66 combination with <tt>!GetGearType(gearUid)</tt>. |
67 </blockquote> |
67 </blockquote> |
|
68 === <tt>onGearResurrect(gearUid)</tt> === |
|
69 |
|
70 <blockquote>This function is called when a gear is resurrected. CPU Hogs will resurrect if gfAISurvival is included in GameFlags. Alternatively, specific gears can have heResurrectable set to true via SetEffect. |
|
71 </blockquote> |
68 === <tt>onAmmoStoreInit()</tt> === |
72 === <tt>onAmmoStoreInit()</tt> === |
69 |
73 |
70 <blockquote>This function is called when the game is initialized to request the available ammo and ammo probabilities. Use !SetAmmo here. |
74 <blockquote>This function is called when the game is initialized to request the available ammo and ammo probabilities. Use !SetAmmo here. |
71 </blockquote> |
75 </blockquote> |
72 == Functions for creating gears == |
76 == Functions for creating gears == |