The docs and fortnight.digest.verse sugest that this should be possible, but no matter what way I do this is prints “failed to get npc leash”.
npc_leash_behavior<public> := class(npc_behavior):
OnBegin<override>()<suspends>:void=
if:
Agent := GetAgent[]
Character := Agent.GetFortCharacter[]
Leashable := Character.GetFortLeashable[]
then:
Print("found the leash")
else:
Print("faild to get npc leash")
Am I doing something wrong here?