Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SET_PARTICLE_FX_LOOPED_EVOLUTION

Native Details

  • NameSET_PARTICLE_FX_LOOPED_EVOLUTION
  • NamespaceGRAPHICS
  • Native Hash0x5F0C4B5B1C393BE2
  • Typevoid
  • First seen version323

Native Parameters

There is no description yet for this native, why not edit it and add one?

User Feedback

Recommended Comments

SH42913

Members
(edited)

I've found a way how to find which propertyName available for PTFX.

You need CodeWalker for that.

  • Run CodeWalker RPF Explorer

  • Search for PTFX dict(eg, scr_ih_sub)

  • Open context menu for PTFX dictionary and Export it as XML file

  • Open XML file in any text editor and search for desired particle effect(eg, scr_ih_sub_pool_door)

  • Then look its internals for EventEmitterFlags property(one property per emitter of PTFX)

  • Every Item you will find there is propertyName for Evolution

Here's example for scr_ih_sub_pool_door:
<EventEmitterFlags>

<Item>depth</Item>

</EventEmitterFlags>

where depth is our propertyName.

And here's how it was used in R* scripts(am_mp_nightclub):
void func_3486(var uParam0)

{

uParam0->f_247 = "scr_ih_sub";

uParam0->f_248 = "scr_ih_sub_pool_door";

uParam0->f_250 = { 0.2f, 0f, 0f };

uParam0->f_253 = { 0f, 0f, 0f };

}

void func_3471(var uParam0, int iParam1)

{

if ((!MISC::IS_STRING_NULL_OR_EMPTY(uParam0->f_248) && !MISC::IS_STRING_NULL_OR_EMPTY(uParam0->f_247)) && func_11143(iParam1))

{

GRAPHICS::USE_PARTICLE_FX_ASSET(uParam0->f_247);

uParam0->f_246 = GRAPHICS::START_PARTICLE_FX_LOOPED_ON_ENTITY(uParam0->f_248, iParam1, uParam0->f_250, uParam0->f_253, 1f, false, false, false);

}

}

void func_3453(var uParam0, float fParam1, bool bParam2)

{

float fVar0;

if (bParam2)

{

fVar0 = func_3454(fParam1);

}

else

{

fVar0 = fParam1;

}

if (GRAPHICS::DOES_PARTICLE_FX_LOOPED_EXIST(uParam0->f_246))

{

GRAPHICS::SET_PARTICLE_FX_LOOPED_EVOLUTION(uParam0->f_246, "depth", fVar0, true);

}

}

Edited by SH42913

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.