Type updates

This commit is contained in:
Lwmte 2025-03-11 23:46:31 +01:00
parent 3046f5f4a2
commit ed938bfeb9
2 changed files with 4 additions and 4 deletions

View file

@ -313,7 +313,7 @@
Specify if the particle will poison the player on collision. <strong>Default: false</strong> Specify if the particle will poison the player on collision. <strong>Default: false</strong>
</li> </li>
<li><span class="parameter">spriteSeqID</span> <li><span class="parameter">spriteSeqID</span>
<span class="types"><a class="type" href="../4 enums/Objects.ObjID.html#">ObjID</a></span> <span class="types"><a class="type" href="../4 enums/Objects.ObjID.html#SpriteConstants">SpriteConstants</a></span>
ID of the sprite sequence object. <strong>Default: Objects.ObjID.DEFAULT_SPRITES</strong> ID of the sprite sequence object. <strong>Default: Objects.ObjID.DEFAULT_SPRITES</strong>
</li> </li>
<li><span class="parameter">startRot</span> <li><span class="parameter">startRot</span>
@ -829,7 +829,7 @@ EmitAdvancedParticle(particle)</pre>
Velocity. Velocity.
</li> </li>
<li><span class="parameter">spriteSeqID</span> <li><span class="parameter">spriteSeqID</span>
<span class="types"><a class="type" href="../4 enums/Objects.ObjID.html#">ObjID</a></span> <span class="types"><a class="type" href="../4 enums/Objects.ObjID.html#SpriteConstants">SpriteConstants</a></span>
ID of the sprite sequence object. <strong>Default: Objects.ObjID.DEFAULT_SPRITES</strong> ID of the sprite sequence object. <strong>Default: Objects.ObjID.DEFAULT_SPRITES</strong>
(<em>optional</em>) (<em>optional</em>)
</li> </li>

View file

@ -123,7 +123,7 @@ namespace TEN::Scripting::Effects
// @tparam float life Lifespan in seconds. __Default: 2__ // @tparam float life Lifespan in seconds. __Default: 2__
// @tparam bool applyDamage Specify if the particle will harm the player on collision. __Default: false__ // @tparam bool applyDamage Specify if the particle will harm the player on collision. __Default: false__
// @tparam bool applyPoison Specify if the particle will poison the player on collision. __Default: false__ // @tparam bool applyPoison Specify if the particle will poison the player on collision. __Default: false__
// @tparam Objects.ObjID spriteSeqID ID of the sprite sequence object. __Default: Objects.ObjID.DEFAULT_SPRITES__ // @tparam Objects.ObjID.SpriteConstants spriteSeqID ID of the sprite sequence object. __Default: Objects.ObjID.DEFAULT_SPRITES__
// @tparam float startRot Rotation at start of life. __Default: random__ // @tparam float startRot Rotation at start of life. __Default: random__
// @usage // @usage
// EmitParticle( // EmitParticle(
@ -259,7 +259,7 @@ namespace TEN::Scripting::Effects
// @table ParticleData // @table ParticleData
// @tfield Vec3 position World position. // @tfield Vec3 position World position.
// @tfield Vec3 velocity Velocity. // @tfield Vec3 velocity Velocity.
// @tfield[opt] Objects.ObjID spriteSeqID ID of the sprite sequence object. __Default: Objects.ObjID.DEFAULT_SPRITES__ // @tfield[opt] Objects.ObjID.SpriteConstants spriteSeqID ID of the sprite sequence object. __Default: Objects.ObjID.DEFAULT_SPRITES__
// @tfield[opt] int spriteID ID of the sprite in the sprite sequence object.__Default: 0__ // @tfield[opt] int spriteID ID of the sprite in the sprite sequence object.__Default: 0__
// @tfield[opt] float lifetime Lifespan in seconds. __Default: 2__ // @tfield[opt] float lifetime Lifespan in seconds. __Default: 2__
// @tfield[opt] float maxYVelocity Specifies ithe maximum Y velocity for the particle. __Default: 0__ // @tfield[opt] float maxYVelocity Specifies ithe maximum Y velocity for the particle. __Default: 0__