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

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.