This article's documentation is for anything that uses the Source engine. Click here for more information.

Spark shower: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Port of https://src-ents.shoutwiki.com/wiki/Spark_shower)
 
m (→‎FGD Code: imo, cpp is more legible)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


==FGD Code==
==FGD Code==
<syntaxhighlight lang=mupad>
<syntaxhighlight lang=cpp>
@PointClass base(Targetname, Parentname, Angles) iconsprite("editor/env_spark.vmt") = spark_shower : "Spark effect. Jumps in the direction of Pitch Yaw Roll." []
@PointClass base(Targetname, Parentname, Angles) iconsprite("editor/env_spark.vmt") = spark_shower : "Spark effect. Jumps in the direction of Pitch Yaw Roll." []
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 17:22, 13 November 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

spark_shower is a point entity available in all Source Source games. It's a spark effect created by underwater env_explosions. It will jump in a direction set by its Pitch Yaw Roll (angles).

C++ Class hierarchy
CShower
CPointEntity
CBaseEntity
C++ explode.cpp

FGD Code

@PointClass base(Targetname, Parentname, Angles) iconsprite("editor/env_spark.vmt") = spark_shower : "Spark effect. Jumps in the direction of Pitch Yaw Roll." []

See Also