WoW:API FollowUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API FollowUnit to API FollowUnit without leaving a redirect)
 
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
FollowUnit("[[API_TYPE_UnitId|UnitID]]")<br><br>
{{wowapi}}
Can only follow allies
 
Start following an allied unit
FollowUnit("[[API_TYPE_UnitId|unit]]")
 
== Arguments ==
:;unit: String - the [[API_TYPE_UnitId|UnitID]] to follow, e.g. "target", "party1", "raid1", etc..
 
== Details ==
 
* To stop following someone: <code>( FollowUnit("player") )</code>
** <s>It is '''not possible''' to ''stop'' following someone from a script. The player needs to take action (move, jump, sit, whatever). See the [[Talk: API FollowUnit|{{discussiontab}} page]].</s>
 
* For historical reference, see also [[API FollowByName|FollowByName]](), which has been removed from the API.

Latest revision as of 04:45, 15 August 2023

WoW API < FollowUnit

Start following an allied unit

FollowUnit("unit")

Arguments

unit
String - the UnitID to follow, e.g. "target", "party1", "raid1", etc..

Details

  • To stop following someone: ( FollowUnit("player") )
    • It is not possible to stop following someone from a script. The player needs to take action (move, jump, sit, whatever). See the discussion page.
  • For historical reference, see also FollowByName(), which has been removed from the API.