Djinni Wiki

function SetAreaTransitionBMP (int nPredefinedAreaTransition, string sCustomAreaTransitionBMP="")

Set the transition bitmap of a player; this should only be called in area transition scripts. This action should be run by the person "clicking" the area transition via AssignCommand.

  • nPredefinedAreaTransition:
    • To use a predefined area transition bitmap, use one of AREA_TRANSITION_*
    • To use a custom, user-defined area transition bitmap, use AREA_TRANSITION_USER_DEFINED and specify the filename in the second parameter
  • sCustomAreaTransitionBMP: this is the filename of a custom, user-defined area transition bitmap

  • Return type: void
  • Include file: nwscriptdefn