Osiris/Shared/PROC Follow: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
mNo edit summary
(Fixed formatting, removed the _Running parameter since it doesn't currently exist in _PROC. Removed the Return Value section since it's a call.)
Line 1: Line 1:
===== Full Definition(s) =====
===== Full Definition(s) =====
* PROC '''ProcCharacterFollowCharacter'''(''(CHARACTERGUID)'''''_Char''',''''(CHARACTERGUID)'''''_Target''',(INTEGER)'''''_Running''')
* PROC '''ProcCharacterFollowCharacter'''(''(CHARACTERGUID)'''''_Char''',''(CHARACTERGUID)'''''_Target''')
===== Description =====
===== Description =====
Same as the Osiris call [[Osiris/API/CharacterFollowCharacter|CharacterFollowCharacter]], except that it also first automatically cancels '''_Char''' from following if it was already following someone else. Additionally, it stops the following behaviour when '''_Char''' gets involved in combat and resumes it afterwards.
Same as the Osiris call [[Osiris/API/CharacterFollowCharacter|CharacterFollowCharacter]], except that it also first automatically cancels '''_Char''' from following if it was already following someone else. Additionally, it stops the following behaviour when '''_Char''' gets involved in combat and resumes it afterwards.
===== Return Values =====
 
* /
===== Notes =====
===== Notes =====
* Stop following through [[Osiris/Shared/ProcCharacterStopFollow|ProcCharacterStopFollow]].
* Stop following through [[Osiris/Shared/ProcCharacterStopFollow|ProcCharacterStopFollow]].
===== See Also =====
===== See Also =====
* [[Osiris/API/CharacterFollowCharacter|CharacterFollowCharacter]]
* [[Osiris/API/CharacterFollowCharacter|CharacterFollowCharacter]]

Revision as of 23:08, 15 May 2018

Full Definition(s)
  • PROC ProcCharacterFollowCharacter((CHARACTERGUID)_Char,(CHARACTERGUID)_Target)
Description

Same as the Osiris call CharacterFollowCharacter, except that it also first automatically cancels _Char from following if it was already following someone else. Additionally, it stops the following behaviour when _Char gets involved in combat and resumes it afterwards.

Notes
See Also