Difference between revisions of "Range (Procedure)"
m
no edit summary
imported>Deazurain m |
imported>Deazurain m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Procedures | {{Procedures | ||
|Name=Range | |Name=Range | ||
Line 12: | Line 10: | ||
|Param1=MinDistance | |Param1=MinDistance | ||
|Type1=Float | |Type1=Float | ||
|Desc1=Minimum distance actor wants to be | |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 80: | 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. | ||
*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 88: | 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== | ==Relevant Gamesettings== | ||
*'''fAIRangeLineFormationSpacing ''': In a double-file line formation, determines how far apart each row of two actors will be. | *'''fAIRangeLineFormationSpacing ''': In a double-file line formation, determines how far apart each row of two actors will be. | ||
}} | }} |