En:OnMapExit

Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.

Содержание

Syntax

function OnMapExit(exit_area_id : Number) : String

Description

Called when hero stays over exit point

Parameters

Result

The event should returns level name which system should load. If this event returns empty string then system it has not been do any actions. Data type - String;

Example

function OnMapExit(exitAreaID) 
    if exitAreaID==1 then
        return "demo_map";
    endif
    return "";
endFunction

See also

  1. Class MapBuilder
  2. Method MapBuilder.AddExitPoint
  3. Predefined procedures and functions (events)
Личные инструменты