equal
deleted
inserted
replaced
339 `msgParams` tells the set timer in seconds (i.e. `3` for the 3 seconds timer key). |
339 `msgParams` tells the set timer in seconds (i.e. `3` for the 3 seconds timer key). |
340 |
340 |
341 === <tt>onUpUp()</tt> === |
341 === <tt>onUpUp()</tt> === |
342 This function is called when you release the up key. |
342 This function is called when you release the up key. |
343 |
343 |
|
344 === <tt>onUsedAmmo(ammoType)</tt> (0.9.23) === |
|
345 Called after a weapon has been used completely, with `ammoType` as the used ammo type. |
|
346 |
|
347 For example, it is called right after a bazooka is fired, when both shots of a shotgun have been fired. It is also called when using a multi-shot ammo has been aborted because this still uses up the ammo. |
|
348 |
344 === <tt>onHogHide(gearUid)</tt> (0.9.16) === |
349 === <tt>onHogHide(gearUid)</tt> (0.9.16) === |
345 This function is called when a hedgehog with the gear ID `gearUid` is hidden (removed from the map). |
350 This function is called when a hedgehog with the gear ID `gearUid` is hidden (removed from the map). |
346 |
351 |
347 === <tt>onHogRestore(gearUid)</tt> (0.9.16) === |
352 === <tt>onHogRestore(gearUid)</tt> (0.9.16) === |
348 This function is called when a hedgehog with the specified gear ID `gearUid` is restored (unhidden). |
353 This function is called when a hedgehog with the specified gear ID `gearUid` is restored (unhidden). |