Djinni Wiki

function FloatingTextStrRefOnCreature (int nStrRefToDisplay, object oCreatureToFloatAbove, int bBroadcastToFaction=TRUE)

Display floaty text above the specified creature. The text will also appear in the chat buffer of each player that receives the floaty text. -

  • nStrRefToDisplay: String ref (therefore text is translated) -
  • oCreatureToFloatAbove:
  • bBroadcastToFaction: If this is TRUE then only creatures in the same faction as oCreatureToFloatAbove will see the floaty text, and only if they are within range (30 metres).

  • Return type: void
  • Include file: nwscriptdefn