Aller au contenu

Photo

Text appears for public CD key


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

#1
WhenTheNightComes

WhenTheNightComes
  • Members
  • 27 messages
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!

#2
FunkySwerve

FunkySwerve
  • Members
  • 1 308 messages
It works, if you put it in the proper conditional slot, and if you remembered to compile it after editing it.

Funky

#3
Khuzadrepa

Khuzadrepa
  • Members
  • 188 messages
I agree with Funky. This code snippet looks fine. Can you put this into context? What are you trying to do?

#4
Rolo Kipp

Rolo Kipp
  • Members
  • 2 791 messages
<peering through...>

If he's trying to make the text appear *for that cd key*, should he return true?

<...the looking glass>

#5
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
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.