Fixed typo.
parent
d604de714f
commit
28f494b69b
|
@ -68,7 +68,7 @@
|
||||||
<table class="function_list">
|
<table class="function_list">
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="name" nowrap><a href="#spawnusher.activate">spawnusher.activate</a> (random_placement_radius, required_air_bubble_size, retry_time)</td>
|
<td class="name" nowrap><a href="#spawnusher.activate">spawnusher.activate</a> (random_placement_radius, required_bubble_size, retry_time)</td>
|
||||||
<td class="summary">Activates the spawn usher system.</td>
|
<td class="summary">Activates the spawn usher system.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<dt><a name="spawnusher.activate"></a><strong>spawnusher.activate</strong> (random_placement_radius, required_air_bubble_size, retry_time)</dt>
|
<dt><a name="spawnusher.activate"></a><strong>spawnusher.activate</strong> (random_placement_radius, required_bubble_size, retry_time)</dt>
|
||||||
<dd>
|
<dd>
|
||||||
Activates the spawn usher system.
|
Activates the spawn usher system.
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ Activates the spawn usher system.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
required_air_bubble_size: Optional. The size/height of the bubble of air that is required for the player to spawn. Defaults to 2.
|
required_bubble_size: Optional. The size/height of the bubble of air that is required for the player to spawn. Defaults to 2.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -49,12 +49,12 @@ spawnusher = {
|
||||||
--
|
--
|
||||||
-- @param random_placement_radius Optional. The player will be respawned in
|
-- @param random_placement_radius Optional. The player will be respawned in
|
||||||
-- the given radius around the spawn point.
|
-- the given radius around the spawn point.
|
||||||
-- @param required_air_bubble_size Optional. The size/height of the bubble of
|
-- @param required_bubble_size Optional. The size/height of the bubble of
|
||||||
-- air that is required for the player to spawn.
|
-- air that is required for the player to spawn.
|
||||||
-- Defaults to 2.
|
-- Defaults to 2.
|
||||||
-- @param retry_time Optional. This is the time that passes between tries to
|
-- @param retry_time Optional. This is the time that passes between tries to
|
||||||
-- place to the player.
|
-- place to the player.
|
||||||
function spawnusher.activate(random_placement_radius, required_air_bubble_size, retry_time)
|
function spawnusher.activate(random_placement_radius, required_bubble_size, retry_time)
|
||||||
spawnusher.random_placement_radius = random_placement_radius or 40
|
spawnusher.random_placement_radius = random_placement_radius or 40
|
||||||
spawnusher.required_bubble_size = required_bubble_size or 2
|
spawnusher.required_bubble_size = required_bubble_size or 2
|
||||||
spawnusher.retry_time = retry_time or 0.5
|
spawnusher.retry_time = retry_time or 0.5
|
||||||
|
|
Loading…
Reference in New Issue