class 'UT_SpriteSmokePuff' ???

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Silver_Ibex

Member
Feb 27, 2001
654
0
16
I want to spawn a “UT_SpriteSmokePuff” and set its rising rate when I spawn it as part of a new wall hit FX.

A = Spawn(class'UT_SpriteSmokePuff',,,Location + 8 * Vector(Rotation));
A.RemoteRole = ROLE_None;
A.drawscale = 0.3;
A.RisingRate = 10.000000

with the above code I get this error

Error: C:\UnrealTournament\newax\Classes\newAX22hit.uc(50) : Error, Unrecognized member 'RisingRate' in class 'Actor'

what’s the proper way to address this variable???
 

Shiit

Shiit
Dec 19, 2000
168
0
0
Indeed! If you cast it though, keep a look out for "Accessed nones". They suck. (In fact, my current project is generating one every tick. I'm seeing into it right now.)