diff --git a/Documentation/doc/1 modules/Effects.html b/Documentation/doc/1 modules/Effects.html index 1a475096e..b84fdf1e2 100644 --- a/Documentation/doc/1 modules/Effects.html +++ b/Documentation/doc/1 modules/Effects.html @@ -313,7 +313,7 @@ Specify if the particle will poison the player on collision. Default: false
  • spriteSeqID - ObjID + SpriteConstants ID of the sprite sequence object. Default: Objects.ObjID.DEFAULT_SPRITES
  • startRot @@ -829,7 +829,7 @@ EmitAdvancedParticle(particle) Velocity.
  • spriteSeqID - ObjID + SpriteConstants ID of the sprite sequence object. Default: Objects.ObjID.DEFAULT_SPRITES (optional)
  • diff --git a/TombEngine/Scripting/Internal/TEN/Effects/EffectsFunctions.cpp b/TombEngine/Scripting/Internal/TEN/Effects/EffectsFunctions.cpp index 3c1effb87..755a1fadf 100644 --- a/TombEngine/Scripting/Internal/TEN/Effects/EffectsFunctions.cpp +++ b/TombEngine/Scripting/Internal/TEN/Effects/EffectsFunctions.cpp @@ -123,7 +123,7 @@ namespace TEN::Scripting::Effects // @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 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__ // @usage // EmitParticle( @@ -259,7 +259,7 @@ namespace TEN::Scripting::Effects // @table ParticleData // @tfield Vec3 position World position. // @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] float lifetime Lifespan in seconds. __Default: 2__ // @tfield[opt] float maxYVelocity Specifies ithe maximum Y velocity for the particle. __Default: 0__