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.

a script wich give money to player ?

Page: 1 of 1
 jrc24
06-21-2004, 12:50 PM
#1
please somebody could give me a script wich give N credits to player ?

thanks to scripters
 tk102
06-21-2004, 1:46 PM
#2
void main() {
int nGoldPieces = (number of gold pieces here);
object oNPC=GetObjectByTag("your_npc_tag");
GiveGoldToCreature(oNPC, nGoldPieces);
}
 jrc24
06-21-2004, 2:04 PM
#3
ok thank you very much tk102 ! :)
 tk102
06-21-2004, 2:07 PM
#4
No problem ... take a peek a nwscript.nss to see all the handy functions. Some of them have language that's a throwback to Neverwinter Nights (gold is credits for example.)
 Lorden Darkblade
06-21-2004, 2:36 PM
#5
Can that script be added to speach?
Like the Dark Side Choker thing?
 Darth333
06-21-2004, 4:02 PM
#6
Originally posted by ReLoaD2K
Can that script be added to speach?
Like the Dark Side Choker thing?
Of course :)
Page: 1 of 1