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?
What are the "$" constants that refer to things for use in the conversation scripts
Débuté par
M. Rieder
, janv. 16 2011 01:44
#1
Posté 16 janvier 2011 - 01:44
#2
Posté 16 janvier 2011 - 01:55
They are documented in the ginc_param_const script. Open it using the Open Conversation/Script option in the Toolset File menu.
Regards
Regards
#3
Posté 16 janvier 2011 - 02:27
Thank you sir! Very helpful.
#4
Posté 16 janvier 2011 - 05:36
$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 ....
$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 .





Retour en haut






