Aller au contenu

Photo

Is SetFollowerLocked() a broken function?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
DarkJin83

DarkJin83
  • Members
  • 37 messages
 I'm fairly certain this function does not work at all.  I've gone over my code over and over, I think there must be something wrong with the function code itself, I'm looking into it now.  I cannot lock a follower in the PartyPickerGUI at all.  Let's say I wanted to lock follower oFollower, the correct syntax is SetFollowerLocked(oFollower, 1);  I've tried many different variations but nothing seems to work?

Anyone have any ideas on what's going on here?

#2
Craig Graff

Craig Graff
  • Members
  • 608 messages
They have to be in the party already for that function to work at all. That said, we actually used SetFollowerState(FOLLOWER_STATE_LOCKED_ACTIVE) in the main campaign.

Modifié par Craig Graff, 14 décembre 2009 - 12:51 .


#3
DarkJin83

DarkJin83
  • Members
  • 37 messages
Ah thank you, that worked perfectly, FOLLOWER_STATE_LOCKEDACTIVE is the one state missing from the definition of SetFollowerState() unfortunately. Now that I am aware of it, it has worked wonders.