Jump to content

[LE] 'Follow' package problem


Recommended Posts

Ah! I wondered if it was how I was using it but didn't know. I should be able to work out a suitable event to use. Event OnPackageStart seems a good bet.

 

Thanks.

 

Success!

 

Here's the script that I added. I can add another similar script using Event OnPackageEnd to take the teammate functionality off him when appropriate.

 

Scriptname KetilJoncisTeammate Extends ObjectReference

 

Actor Property KetilFollowerJoncisMilvan Auto

Package Property KetilJoncisFollowIntoDungeon Auto

 

Event OnPackageStart(Package akNewPackage)

 

if akNewPackage == KetilJoncisFollowIntoDungeon

KetilFollowerJoncisMilvan.SetPlayerTeammate()

endif

 

EndEvent

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...