please somebody could give me a script wich give N credits to player ?
thanks to scripters
void main() {
int nGoldPieces = (number of gold pieces here);
object oNPC=GetObjectByTag("your_npc_tag");
GiveGoldToCreature(oNPC, nGoldPieces);
}
ok thank you very much tk102 ! :)
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.)
Can that script be added to speach?
Like the Dark Side Choker thing?
Originally posted by ReLoaD2K
Can that script be added to speach?
Like the Dark Side Choker thing?
Of course :)