① 魔獸爭霸3我創的地圖裡面有很多物品和裝備請問一下怎麼弄3物品欄就是說按一個鍵就可以跳到第2個物品欄。
globals
item array wupin
integer beibaoshuliang=3//這里設置額外的背包數量
endglobals
function ochongbeibao3 takes unit u,player wplayer returns nothing
local integer i=GetPlayerId(wplayer)
local integer i1=0
local integer i2
loop
exitwhen i1>5
set wupin[i+i1] = UnitItemInSlot(u, i1)
call SetItemPosition( wupin[i+i1], 0, 0 )
call SetItemVisible( wupin[i+i1], false )
call UnitAddItem( u, wupin[i+12+i1] )
call UnitDropItemSlot( u, wupin[i+12+i1], i1 )
set i2=1
loop
set wupin[i+i2*12+i1] = wupin[i+(i2+1)*12+i1]
set i2=i2+1
exitwhen i2>beibaoshuliang-1
endloop
set wupin[i+i2*12+i1] = wupin[i+i1]
set i1=i1+1
endloop
endfunction
function ochongbeibao2 takes nothing returns boolean
return ((IsUnitType(GetFilterUnit(), UNIT_TYPE_HERO) == true))
endfunction
function ochongbeibao1 takes nothing returns nothing
local unit u
local group g = CreateGroup()
call GroupEnumUnitsOfPlayer(g,GetTriggerPlayer(), Condition(function ochongbeibao2))
set u=FirstOfGroup(g)
if(u!=null)then
call ochongbeibao3 (u,GetTriggerPlayer())
endif
call DestroyGroup(g)
set g=null
set u=null
endfunction
function ochongbeibao takes nothing returns nothing
local trigger trig=CreateTrigger()
local integer i=0
loop
call TriggerRegisterPlayerEvent(trig, Player(i), EVENT_PLAYER_END_CINEMATIC)
set i=i+1
exitwhen i>11
endloop
call TriggerAddAction(trig, function ochongbeibao1)
set trig=null
endfunction
你是要腳本嗎?
不知道你會不會用,多背包腳本,按Esc換背包
只對一個英雄有效,不知道你的圖每個玩家有幾個英雄,如果只有一個那不會有問題,這是因為共用背包的原因,或者你需要選取英雄之後才可以換背包的話 你在追問 我改一下。
嗯 有不知道你追問好了
用 call ochongbeibao() 來調用
② 警察出勤不帶警號符合規矩嗎
可能只是協警 協警沒有警號 正式警察穿警服應該佩戴警號 如果穿的是作訓服是不用帶警號的 如果穿便衣 要出示人民警察證
③ 請問有成都交警二分局投訴電話沒!TMD警號071342太可惡!不投訴他真是氣不消!
成都市交警二分局服務大廳
地址:馬鞍山1號鐧懼害鍦板浘
本數據來源於網路地圖,最終結果以網路地圖最新數據為准。
④ 求個熱血傳奇英雄合擊單機版 [email protected]
戰爭的神,像英雄只能被視為可以在地圖上點擊的背景下,買另一張地圖的左邊那塊海灘市的中心
⑤ 警察出勤不帶警號符合規矩嗎
當然不合法,如果有條件的話,可以去當地的有關部門進行舉報!