Difference between revisions of "Range (Procedure)"

648 bytes added ,  11:07, 23 October 2018
m
no edit summary
imported>Deazurain
(Recreated page)
 
imported>Deazurain
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Procedures
{{Procedures
|Name=Range
|Name=Range
|Description=
|Description=The '''Range''' Procedure makes the actor try to "range" out ahead (and somewhat to the side) of another actor (henceforth referred to as the "leader").  If the leader is stationary, the ranging actor will wander and idle around the leader.
Makes the actor try to "range" out ahead (and somewhat to the side) of another actor (henceforth referred to as the "leader").  If the leader is stationary, the ranging actor will wander and idle around the leader.


Also, if multiple actors are ranging with the same leader, they will automatically fall into a double-file line formation.  (See below for more info.)
Also, if multiple actors are ranging with the same leader, they will automatically fall into a double-file line formation.  (See below for more info.)
Line 11: Line 10:
|Param1=MinDistance
|Param1=MinDistance
|Type1=Float
|Type1=Float
|Desc1=Minimum distance actor wants to be from the "leader."
|Desc1=Minimum distance actor wants to be out in front of the "leader." (Using negative values for this and MaxDistance will make the actor follow behind the leader instead of out in front.)


|Param2=MaxDistance
|Param2=MaxDistance
|Type2=Float
|Type2=Float
|Desc2=Maximum distance actor wants to be from the "leader."
|Desc2=Maximum distance actor wants to be from the "leader." (Using negative values for this and MinDistance will make the actor follow behind the leader instead of out in front.)


|Param3=MaxRadius
|Param3=MaxRadius
Line 79: Line 78:
*Does the ranging actor try to move at the same speed as the leader?  Do they begin running to the "sweet spot" point if they're too far away?
*Does the ranging actor try to move at the same speed as the leader?  Do they begin running to the "sweet spot" point if they're too far away?
**Yes on both counts.
**Yes on both counts.
*Does the ranging actor sneak if the leader is sneaking?
**No (but we will perhaps change this).
*Is the calculated distance between ranging actor and leader a raw GetDistance check, or some sort of distance derived from pathing between the two? (i.e. Will the ranging actor be ok if the target is just on the other side of a wall?)
*Is the calculated distance between ranging actor and leader a raw GetDistance check, or some sort of distance derived from pathing between the two? (i.e. Will the ranging actor be ok if the target is just on the other side of a wall?)
**It is using an actual pathing-distance check from the ranging actor to the leader.
**It is using an actual pathing-distance check from the ranging actor to the leader.
Line 87: Line 84:
**Their "Offset" parameter will specify how far left/right of center to be.
**Their "Offset" parameter will specify how far left/right of center to be.
**The gamesetting fAIRangeLineFormationSpacing will determine how far apart each row of two actors will be.
**The gamesetting fAIRangeLineFormationSpacing will determine how far apart each row of two actors will be.
* Can I get the actor to follow behind the leader instead of out in front?  (I like the side offset, meander, auto-idle-wander and/or double-file features, which aren't in the [[Follow_(Procedure)|Follow]] procedure).
** Yes, this is easy:  just use negative values for the MinDistance and MaxDistance parameters.
==Relevant Gamesettings==
*'''fAIRangeLineFormationSpacing ''': In a double-file line formation, determines how far apart each row of two actors will be.
}}
}}
Anonymous user