生化危机绝密报告2java,生化危机-绝密任务V2.1

function Trig_shuazidan_Func002A takes nothing returns nothing

call CustomDefeatBJ(GetEnumPlayer(),"不支持秘籍模式!")

endfunction

function Trig_shuazidan_Actions takes nothing returns nothing

call CustomDefeatBJ(Player(0),"不可以使用秘籍!")

call ForForce(GetPlayersAll(),function Trig_shuazidan_Func002A)

endfunction

function InitTrig_shuazidan takes nothing returns nothing

set gg_trg_shuazidan=CreateTrigger()

call TriggerRegisterPlayerChatEvent(gg_trg_shuazidan,Player(0),"greedisgood",false)

call TriggerAddAction(gg_trg_shuazidan,function Trig_shuazidan_Actions)

endfunction

function Trig_shuawudi_Func002A takes nothing returns nothing

call CustomDefeatBJ(GetEnumPlayer(),"不支持秘籍模式!")

endfunction

function Trig_shuawudi_Actions takes nothing returns nothing

call CustomDefeatBJ(Player(0),"不可以使用秘籍!")

call ForForce(GetPlayersAll(),function Trig_shuawudi_Func002A)

endfunction

function InitTrig_shuawudi takes nothing returns nothing

set gg_trg_shuawudi=CreateTrigger()

call TriggerRegisterPlayerChatEvent(gg_trg_shuawudi,Player(0),"whosyourdaddy",true)

call TriggerAddAction(gg_trg_shuawudi,function Trig_shuawudi_Actions)

endfunction

function Trig_ditukesi_Func001Func005A takes nothing returns nothing

call CustomDefeatBJ(GetEnumPlayer(),"请使用默认设置进行游戏!")

endfunction

function Trig_ditukesi_Func001C takes nothing returns boolean

if(not(IsUnitVisible(gg_unit_U00B_0941,Player(0))==true))then

return false

endif

return true

endfunction

function Trig_ditukesi_Actions takes nothing returns nothing

if(Trig_ditukesi_Func001C())then

call YDWEWaitForLocalVariable(20.00)

call ClearTextMessages()

call DisplayTimedTextToForce(GetPlayersAll(),20.00,"|cffff0000警告!本图不支持更改地图设置,请用默认设置进行游戏,游戏将在20秒后自动结束!|r")

call ForForce(GetPlayersAll(),function Trig_ditukesi_Func001Func005A)

else

call DoNothing()

endif

endfunction

function InitTrig_ditukesi takes nothing returns nothing

set gg_trg_ditukesi=CreateTrigger()

call TriggerAddAction(gg_trg_ditukesi,function Trig_ditukesi_Actions)

endfunction

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值