Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Is there an existing script that checks to make sure you have XX amount of credits?

Page: 1 of 1
 randydg
12-11-2005, 12:33 PM
#1
Is there an existing script that checks to make sure you have XX amount of credits? I'm trying to replace T3-M4, going to script it where it has a check that hes been to the telos jedi place(so that he can show you the trial recording), and once you return to telos citidel station and you roll over a certin point near a droid shop he breaks down ( sad, i know lol) and you trade in T3 plus some credits for another astrodroid with supieror upgrades.

not sure what to do on this one.

1.a script that will check to see if you completed the council trial hologram.(This one is going to be tricky)



Thats for the support you wonderfull scripters. i would be lost without you.
I just wanted to let you know how much i apreciate all your help.
 T7nowhere
12-11-2005, 2:04 PM
#2
The are bunch of usefull generic scripts for TSL, the one that your looking for is:

"c_chkcredits" simply type that in a conditional field box and in parameter 1 type the number of credits required for that dialog option to appear.

also

"a_takecredits" can be used to take the specified number of credits from the PC

and

"a_givecredits" can be used to have an npc give the PC credits.

If you haven't yet you should really browse through the source scripts for TSL, many usefull things to learn from them.
 randydg
12-11-2005, 2:10 PM
#3
Thanks T7. I try to, but there are soooo many of them.
 Darth InSidious
12-11-2005, 3:00 PM
#4
Try the "Search BIFs/RIMs" function in KT - it helps a lot :)
 randydg
12-11-2005, 3:20 PM
#5
it searches inside the nss files? or just the name of them? that wouldn't be to usefull sence i wouldn't know the name of it just what i want it to do.
 Darth InSidious
12-11-2005, 3:51 PM
#6
Both, IIRC ;)
Page: 1 of 1