Aller au contenu

Photo

What are the "$" constants that refer to things for use in the conversation scripts


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

#1
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Awhile back I ran across some very helpful website that explained that in convo scripts, you could pass $PC to refer to the PC in a "string" field.  I also know that you can use $ with the different standard factions. I am sure there are more, but I can't find them.  Can anyone point me in the right direction?

#2
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 598 messages
They are documented in the ginc_param_const script. Open it using the Open Conversation/Script option in the Toolset File menu.



Regards

#3
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Thank you sir! Very helpful.

#4
Morbane

Morbane
  • Members
  • 1 883 messages
$OBJECT_SELF ---- then it uses OBJECT_SELF (conversation owner)
$OWNER ---- then it uses OBJECT_SELF (conversation owner)
$OWNED_CHAR ---- then it uses GetOwnedCharacter(OBJECT_SELF)
$PC ---- then it uses GetPCSpeaker();
$PC_LEADER ---- then it uses GetFactionLeader(GetFirstPC()) // won't work in MP
$PC_NEAREST ---- then it uses NearestPC(); (owned and alive)
$PC_SPEAKER ---- then it uses GetPCSpeaker()
$MODULE ---- then it uses GetModule();
$LASTSPEAKER ---- then it uses GetLastSpeaker();

edit : URK - already had it in ginc_param_const ... better list in there ....

Modifié par Morbane, 16 janvier 2011 - 05:39 .