User Tools

Site Tools


dromed:link:aifollowobj

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dromed:link:aifollowobj [2022/02/10 04:17]
vfig
dromed:link:aifollowobj [2022/02/10 04:18] (current)
vfig
Line 7: Line 7:
 ^    To |The target object (typically an AI) to follow | ^    To |The target object (typically an AI) to follow |
 ^  Vector 1: Angle | Angle to target point 1, in degrees | ^  Vector 1: Angle | Angle to target point 1, in degrees |
-^         ​Distance | The distance ​to target point 1 |+^         ​Distance | Distance ​to target point 1 |
 ^  Vector 2: Angle | Angle to target point 2, in degrees | ^  Vector 2: Angle | Angle to target point 2, in degrees |
-^         ​Distance | The distance ​to target point 2 |+^         ​Distance | Distance ​to target point 2 |
 ^  Vector 3: Angle | Angle to target point 3, in degrees | ^  Vector 3: Angle | Angle to target point 3, in degrees |
-^         ​Distance | The distance ​to target point 3 |+^         ​Distance | Distance ​to target point 3 |
  
 An AI with this link will try to follow the the To object. The three vector fields describe target points relative to the target object. If the vectors are all zero, then the AI will try to pathfind directly to the object. Otherwise, it will try to pathfind to whichever of the target points it is closest to. For example, specifying a vector with an angle of 90 and a distance of 8 would make the AI try to stay 8 units to the left of the target object. An AI with this link will try to follow the the To object. The three vector fields describe target points relative to the target object. If the vectors are all zero, then the AI will try to pathfind directly to the object. Otherwise, it will try to pathfind to whichever of the target points it is closest to. For example, specifying a vector with an angle of 90 and a distance of 8 would make the AI try to stay 8 units to the left of the target object.
  
 AIFollowObj tends to interact poorly with other AI behaviours, so is recommended only for neutral AIs, or fully scripted AIs that the player does not interact with, such as ghosts. AIFollowObj tends to interact poorly with other AI behaviours, so is recommended only for neutral AIs, or fully scripted AIs that the player does not interact with, such as ghosts.
dromed/link/aifollowobj.txt · Last modified: 2022/02/10 04:18 by vfig