Update EffectsFunctions.cpp

This commit is contained in:
TrainWrack 2024-12-25 19:19:05 -05:00 committed by GitHub
parent 7f064da0d6
commit 4a6c6ee270
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -303,6 +303,16 @@ namespace TEN::Scripting::Effects
TriggerBlood(pos.x, pos.y, pos.z, -1, USE_IF_HAVE(int, num, 1)); 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. /***Emit fire for one frame. Will not hurt Lara. Call this each frame if you want a continuous fire.
@function EmitFire @function EmitFire
@tparam Vec3 pos @tparam Vec3 pos