mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Update EffectsFunctions.cpp
This commit is contained in:
parent
7f064da0d6
commit
4a6c6ee270
1 changed files with 10 additions and 0 deletions
|
@ -303,6 +303,16 @@ namespace TEN::Scripting::Effects
|
|||
TriggerBlood(pos.x, pos.y, pos.z, -1, USE_IF_HAVE(int, num, 1));
|
||||
}
|
||||
|
||||
/***Emit Air bubble.
|
||||
@function EmitBlood
|
||||
@tparam Vec3 pos
|
||||
@tparam int count (default 1) "amount" of blood. Higher numbers won't add more blood but will make it more "flickery", with higher numbers turning it into a kind of red orb.
|
||||
*/
|
||||
static void EmitAirBubble(Vec3 pos, int roomNumber, float size, float amplitude)
|
||||
{
|
||||
SpawnBubble(pos, roomNumber, size, amplitude);
|
||||
}
|
||||
|
||||
/***Emit fire for one frame. Will not hurt Lara. Call this each frame if you want a continuous fire.
|
||||
@function EmitFire
|
||||
@tparam Vec3 pos
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue