FANDOM


function TakeGoldFromCreature (int nAmount, object oCreatureToTakeFrom, int bDestroy=FALSE)

Take nAmount of gold from oCreatureToTakeFrom.

  • nAmount
  • oCreatureToTakeFrom: If this is not a valid creature, nothing will happen. -
  • bDestroy: If this is TRUE, the caller will not get the gold. Instead, the gold will be destroyed and will vanish from the game.
  • Return type: void
  • Include file: nwscriptdefn

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.