Overview
Show Radius, Cone, Line, Target, Range, Target & Range are for the player to help with aiming For example in the demo characters if you press and hold a key it will fire one of the "Show" functions this will then project your trajectory and upon release it will fire a "Cast" function which will start the indicator. Show Range - Show Target - Show Target & Range don't have that many use cases, the Show Cone/Radius/Line will already display their range as is. The Show Range/Target/Target&Range could be used to create your own targeting system.
Target = The AC_RPG_Indicator. Casting time = The time it takes for the cast to be completed and for the indicator to be filled. Alignement = Defines the color of the indicator decal based on the row from DT_Alignement, more on this in Alignement. Range = The range of the indicator Radius = The radius of the indicator Angle = The angle of the Cone Length = The length of the Line Indicator Row = Defines the row from DT_Indicator that will represent the textures of the indicator, more on this in Indicators. Follow Type = Unique to Radius and Target. The types are None, Follow Mouse and Follow Camera. The Follow Mouse option is recommended for topdown, this will follow the mouse cursor. The Follow Camera option is recommended for thirdperson, this is a trace from the camera. The None can be used in both instances, this will just spawn it at the center of the owner. Target Type = Unique to Cone and Line. The types are Forward, Rotate to Mouse and Rotate to Camera. Forward will project the indicator in the forward facing direction of the entity. The Rotate to Mouse option is recommended for topdown, this will rotate the indicator toward the cursor location. The Rotate to Camera option is recommended for thirdperson, this will rotate the indicator toward where you are looking. Recommendation: Match the Follow/Target Type in both Show and Cast events. For example, Show Cone - Target Type > Rotate to Camera Cast Cone - Target Type > Rotate to Camera This way they will both line up. It is recommended to match these to avoid mismatch, say you set the Cast Cone to Forward then your Show indicator (the one that indicates the range) can be aimed freely around your character but the second you cast, it would still spawn in the forward facing direction of the entity. Make sure the Alignement in both Show and Cast events match, otherwise the Show indicator could be a different color from the Cast. Easy way to do this is to just make a variable (or promote to variable), set the type in the variable, get it and hook it up to the parameters.
Last updated