Djinni Wiki
Advertisement

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
Advertisement