int StartingConditional()
{
object oPC = GetPCSpeaker();
if(GetPCPublicCDKey(oPC) == "11111111")
return FALSE;
return TRUE;
}
This doesn't seem to work. I changed out the actual public key, because I'm paranoid like that! Can somebody tell me why it wouldn't work? Thanks!
Text appears for public CD key
Débuté par
WhenTheNightComes
, févr. 22 2013 01:13
#1
Posté 22 février 2013 - 01:13
#2
Posté 22 février 2013 - 03:36
It works, if you put it in the proper conditional slot, and if you remembered to compile it after editing it.
Funky
Funky
#3
Posté 22 février 2013 - 03:48
I agree with Funky. This code snippet looks fine. Can you put this into context? What are you trying to do?
#4
Posté 22 février 2013 - 04:12
<peering through...>
If he's trying to make the text appear *for that cd key*, should he return true?
<...the looking glass>
If he's trying to make the text appear *for that cd key*, should he return true?
<...the looking glass>
#5
Posté 22 février 2013 - 04:48
Agreed the code looks fine, If you are tring to display the conversation node if the CD key does not match.
AND it is before any other conversations nodes that return true, If it is on a node for the NPC.
AND it is before any other conversations nodes that return true, If it is on a node for the NPC.





Retour en haut






