|
|
发表于 2010-8-31 16:01:57
|
显示全部楼层
回复 3楼楼长 N1ounomiya 的帖子
那个很早以前了
现在是这个
//TESH.scrollpos=79
//TESH.alwaysfold=0
function OfficerTestQuestions takes integer i returns nothing
call ClearTextMessages()
if udg_Bunny==0 then
set udg_Bunny=GetRandomInt(1,2)
endif
if udg_Bunny==1 then
call ALICE2Text(30.0, "|cff1e90ff陆战队的座右铭是什么?|r") //semper fidelis
elseif udg_Bunny==2 then
call ALICE2Text(30.0, "|cff1e90ff只有死者才能看到战争的结束.谁说的?|r") //plato
elseif udg_Bunny==3 then
call ALICE2Text(30.0, "|cff1e90ff**兵的 MOS 编号是多少?|r") //0311
elseif udg_Bunny==4 then
call ALICE2Text(30.0, "|cff1e90ff三角洲特种部队是美国陆军专门针对反恐怖主义的特派军事行动单位.正确还是错误?|r") //true
elseif udg_Bunny==5 then
call ALICE2Text(30.0, "|cff1e90ff陆战队是什么时候创建的?|r") //1775
elseif udg_Bunny==6 then
call ALICE2Text(30.0, "|cff1e90ff陆战队曾服务于美国历史上的每一次行动.正确还是错误?|r") //true
elseif udg_Bunny==7 then
call ALICE2Text(30.0, "|cff1e90ff一个营由多少连队组成?|r") //three
elseif udg_Bunny==8 then
call ALICE2Text(30.0, "|cff1e90ff作战军官的最低军衔是什么?|r") //Major
elseif udg_Bunny==9 then
call ALICE2Text(30.0, "|cff1e90ff那一位总统授予海军军乐队总统专用称号来在白宫的国家级典礼上演奏乐曲?|r") //Thomas Jefferson
elseif udg_Bunny==10 then
call ALICE2Text(30.0, "|cff1e90ff刚被组建的时候, 海军陆战部队由在海军军舰上服役的步兵组成. 陆战队员也负责确保军舰官员免于发生________.|r") //mutiny
elseif udg_Bunny==11 then
call ALICE2Text(30.0, "|cff1e90ff美国海军陆战队军官等级分为3类: 授衔军官, _____________, 和士兵, 命令职权由高至低.|r") //warrant officer
elseif udg_Bunny==12 then
call ALICE2Text(30.0, "|cff1e90ff连级军官的最高军衔是什么?|r") //Captain
elseif udg_Bunny==13 then
call ALICE2Text(30.0, "|cff1e90ff陆战队员的服装上配有军队臂章和美军军旗, 在服役和社交制服上还配有姓名标志. 正确还是错误?|r") //false
elseif udg_Bunny==14 then
call ALICE2Text(30.0, "|cff1e90ff陆战队建成纪念日在每年11月10日举办庆祝仪式. 正确还是错误?|r") //True
endif
call DisplayTimedTextToPlayer( GetLocalPlayer(), 0, 0, 5.0, " ")
call DisplayTimedTextToPlayer( GetLocalPlayer(), 0, 0, 5.0, " ")
call DisplayTimedTextToPlayer( GetLocalPlayer(), 0, 0, 5.0, " ")
endfunction
function OfficerTestResponse takes nothing returns nothing
local player p = GetTriggerPlayer()
local integer i = GetConvertedPlayerId(p)
local integer correct = 1
local string s = SubString(GetEventPlayerChatString(),0,StringLength(GetEventPlayerChatString()))
if udg_Bunny==1 and (s=="永远忠诚" or s=="永远忠诚") then
elseif udg_Bunny==2 and s=="柏拉图" then
elseif udg_Bunny==3 and s=="0311" then
elseif udg_Bunny==4 and s=="正确" then
elseif udg_Bunny==5 and s=="1775" then
elseif udg_Bunny==6 and s=="正确" then
elseif udg_Bunny==7 and (s=="three" or s=="3") then
elseif udg_Bunny==8 and (s=="少校" or s=="少校") then
elseif udg_Bunny==9 and (s=="托马斯 杰佛逊" or s=="托马斯 杰佛逊") then
elseif udg_Bunny==10 and (s=="兵变") then
elseif udg_Bunny==11 and (s=="授权军官") then
elseif udg_Bunny==12 and (s=="上尉" or s=="上尉") then
elseif udg_Bunny==13 and (s=="错误") then
elseif udg_Bunny==14 and (s=="正确") then
else
set correct = 0
endif
仔细看了下,其实也就是true改成了正确
无伤大雅
来源于1.5C j文件
[ 本帖最后由 L321 于 2010-8-31 16:09 编辑 ] |
评分
-
1
查看全部评分
-
|