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
- exit_area_id - number. Exit area identifier which has been set on exit point setting by means of method MapBuilder.AddExitPoint;
[править]
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
[править]