Thread: Totally stumped
View Single Post
Old 08-30-2007, 01:07 AM   #2
TaintedReality's Avatar
Join Date: Jun 2005
Posts: 849

TaintedReality is a jewel in the rough (159)TaintedReality is a jewel in the rough (159)

AI Tournament #2 - 1st Place

Send a message via MSN to TaintedReality

You use the u variable when it's null.

Collapse JASS:
    local unit u
    local PlayerData pd = PlayerData(GetHandleInt(GetOwningPlayer(-->u<--),"pd"))

That runs before your debug message so that's why you never see it.

Oh and btw, you say it should damage every 0.1 seconds but the trigger seems to be running every 0.05 :).
TaintedReality is offline   Reply With Quote