Osiris/Shared/PROC Follow: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
m (Tinkerer moved page Osiris/Shared/PROC Followe to Osiris/Shared/PROC Follow: typo fix)
(Updated for bg3)
Line 1: Line 1:
===== Full Definition(s) =====
===== Full Definition(s) =====
* PROC '''ProcCharacterFollowCharacter'''(''(CHARACTERGUID)'''''_Char''',''(CHARACTERGUID)'''''_Target''')
* PROC '''PROC_Follow'''(''(CHARACTER)'''''_Char''',''(CHARACTER)'''''_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/Follow|Follow]], 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 =====
===== Notes =====
* Stop following through [[Osiris/Shared/ProcCharacterStopFollow|ProcCharacterStopFollow]].
* Stop following through [[Osiris/Shared/PROC_StopFollow|PROC_StopFollow]].


===== See Also =====
===== See Also =====
* [[Osiris/API/CharacterFollowCharacter|CharacterFollowCharacter]]
* [[Osiris/API/Follow|Follow]]
* Helper [[Osiris/Shared/ProcCharacterStopFollow|ProcCharacterStopFollow]]
* Helper [[Osiris/Shared/PROC_StopFollow|PROC_StopFollow]]
   
   
[[Category:Osiris Shared Mod Helpers|CharacterFollowCharacter]]
[[Category:Osiris Shared Mod Helpers|Follow]]

Revision as of 12:24, 19 March 2021

Full Definition(s)
  • PROC PROC_Follow((CHARACTER)_Char,(CHARACTER)_Target)
Description

Same as the Osiris call Follow, 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