Tom_Kazansky
<b><font color="RoyalBlue"><font face="Lucida Cons
- 28/12/06
- 3,454
- 462
- Thread starter
- #221
action create LE (advanced) của JNGP
JNGP có action create LE riêng á? hay là EGUI?
Đây, trigger đây anh Tom giúp giùm em, tạo LE xong nó không xoá được :(Mã:Thunder Cloud Effect Events Time - Every 1.00 seconds of game time Conditions Actions For each (Integer A) from 1 to 50, do (Actions) Loop - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ThunderCloud_Unit[(Integer A)] Not equal to No unit Then - Actions [COLOR="Red"]Lightning - Destroy ThunderCloud_LE[(Integer A)][/COLOR] Set TempPoint = (ThunderCloud_Point[(Integer A)] offset by (Random real number between 0.00 and 150.00) towards (Random angle) degrees) Set ThunderCloud_X = (X of TempPoint) Set ThunderCloud_Y = (Y of TempPoint) [COLOR="Blue"]Lightning - Create a Lightning Attack, Visible lightning effect from source (ThunderCloud_X,ThunderCloud_Y,500.00) to target (ThunderCloud_X,ThunderCloud_Y,0.00) Set ThunderCloud_LE[(Integer A)] = (Last created lightning effect)[/COLOR] Custom script: call RemoveLocation(udg_TempPoint) Else - Actions
sao lại để "destroy" lên trên "create" ? chưa tạo ra sao xóa đc?


, nếu có model thì attach vào hand bằng abiliti ý.