Aller au contenu

Photo

Edit the amount of gold one has?


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

#1
Gascogne

Gascogne
  • Members
  • 61 messages
Changing talents and skills are pretty easy but I haven't been able to find how to change how much gold one has.

Anyone know? :wub: 

#2
Livemmo

Livemmo
  • Members
  • 886 messages
cash4gold.com

#3
jeremysaenz

jeremysaenz
  • Members
  • 11 messages
look in the DA scripting documentation. You should find it there

#4
Gascogne

Gascogne
  • Members
  • 61 messages

jeremysaenz wrote...

look in the DA scripting documentation. You should find it there


Where can one find find that? :blink:

#5
jeremysaenz

jeremysaenz
  • Members
  • 11 messages
Yeah sorry about that, I was in the middle of doing something when I first replied. So I couldn't give all the details.
To add money, use the  AddCreatureMoney() function.

void AddCreatureMoney  (  int  nCoppers, object  oCreature = OBJECT_SELF, int  bNotify = TRUE )


So my guess is that the script would go like this to add 1 gold:

object myHero = GetHero();
AddCreatureMoney(10000,myHero);


#6
jedirogues

jedirogues
  • Members
  • 71 messages
why not just put in teh cheat code? lot simpler

#7
jeremysaenz

jeremysaenz
  • Members
  • 11 messages

jedirogues wrote...

why not just put in teh cheat code? lot simpler


I'm guessing Joo Eun is working on an actual module and not just trying to get money in game.