發新話題
打印

問野._.

[Close]
引用:
原帖由 kwai 於 2011-8-26 12:34 發表
冇人答你  咁我答下你:    E個係模擬閃避  後既動作   姐係觸技  
MISS 1:
function MISS_2Conditions takes nothing returns boolean
    return GetEventDamage() == 1
endfunction

function Trig_MISS_2Actions  ...
抄我個方法0,0 你都講埋係要邊招先得嫁-_-
人地點明..
function Trig_MISS2_Actions takes nothing returns nothing
    local texttag tx = CreateTextTag()
    call SetTextTagPosUnit(tx, GetEventDamageSource(), 0)
    call SetTextTagText(tx,"失誤",0.023)
    call SetTextTagColor(tx,255,0,0,0)
    call SetTextTagVelocity( tx, 0, 0.05 )
    call SetTextTagPermanent( tx, false )
    call SetTextTagFadepoint( tx, 0.75 )
    call SetTextTagLifespan( tx, 2 )
    set tx = null
endfunction


改做咁
會比較好

[ 本帖最後由 leoiii12 於 2011-9-26 01:27 編輯 ]

TOP

發新話題