Bioware Archive
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Login
Register
Bioware Archive
»
Bioware Archive V2
»
Builders - Scripting
»
Text appears for public CD key
« previous
next »
Print
Pages: [
1
]
Author
Topic: Text appears for public CD key (Read 322 times)
Legacy_WhenTheNightComes
Jr. Member
Posts: 53
Karma: +0/-0
Text appears for public CD key
«
on:
February 22, 2013, 01:13:19 am »
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!
Logged
Legacy_FunkySwerve
Hero Member
Posts: 2325
Karma: +0/-0
Text appears for public CD key
«
Reply #1 on:
February 22, 2013, 03:36:06 am »
It works, if you put it in the proper conditional slot, and if you remembered to compile it after editing it.
Funky
Logged
Legacy_Khuzadrepa
Sr. Member
Posts: 347
Karma: +0/-0
Text appears for public CD key
«
Reply #2 on:
February 22, 2013, 03:48:10 am »
I agree with Funky. This code snippet looks fine. Can you put this into context? What are you trying to do?
Logged
Legacy_Rolo Kipp
Hero Member
Posts: 4349
Karma: +0/-0
Text appears for public CD key
«
Reply #3 on:
February 22, 2013, 04:12:28 am »
<peering through...>
If he's trying to make the text appear *for that cd key*, should he return true?
<...the looking glass>
Logged
Legacy_Lightfoot8
Hero Member
Posts: 4797
Karma: +0/-0
Text appears for public CD key
«
Reply #4 on:
February 22, 2013, 04:48:41 am »
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.
Logged
Print
Pages: [
1
]
« previous
next »
Bioware Archive
»
Bioware Archive V2
»
Builders - Scripting
»
Text appears for public CD key