TFunctionFlag
91M2说明书 > 引擎脚本功能 > 游戏对象 >

TFunctionFlag(枚举类型)
属性名称 功能
属性
ffJewelryBox 首饰盒
ffZodiac 十二生肖

范例:
{
首饰盒和十二生肖按钮在Prguse.data 65-70
}

unit Q28;

interface
 uses Classes, SysUtils;

procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);

implementation

procedure Main(Npc: TNormNpc; Player: TPlayObject; Args: TArgs);
begin
 //开启人物首饰盒
 Player.FunctionState[ffJewelryBox] := True;   
 //关闭人物首饰盒
 Player.FunctionState[ffJewelryBox] := False;  
 
 //开启人物十二生肖
 Player.FunctionState[ffZodiac] := True;
 //关闭人物十二生肖
 Player.FunctionState[ffZodiac] := False;
end;

end.

引擎官网:www.91M2.com   交流群:5555999   此引擎仅供测试,切勿用于商业用途。如有侵权请立即联系我们,我们将在第一时间删除。