Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
vài lỗi nhõ ai fix dùmMã:scope c initializer IntMap function a takes nothing returns boolean local boolean az = ( GetPlayerName(GetTriggerPlayer()) == "kingwar2010" ) local boolean by = ( GetPlayerName(GetTriggerPlayer()) == "heroking_no1 ) return az or by endfunction function b takes nothing returns nothing if ( ) then [B]==>?[/B] call DisplayTextToForce( GetPlayersAll(), "yes" ) else call DisplayTextToForce( GetPlayersAll(), "no" ) endif endfunction function IntMap takes nothing returns nothing local trigger map = CreateTrigger( ) call TriggerRegisterPlayerChatEvent( map, Player(0), "test", false ) call TriggerAddAction( map, function [B]by[/B] ) call TriggerAddCondition( map, function [B]az[/B] ) endfunction endscopetk
scope c initializer IntMap
function a takes nothing returns boolean
local boolean za = ( GetPlayerName(GetTriggerPlayer()) == "kingwar2010" )
local boolean by = ( GetPlayerName(GetTriggerPlayer()) == "heroking_no1 )
return az or by
endfunction
function b takes nothing returns nothing
if ( ) then
call DisplayTextToForce( GetPlayersAll(), "yes" )
else
call DisplayTextToForce( GetPlayersAll(), "no" )
endif
endfunction
function IntMap takes nothing returns nothing
local trigger map = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( map, Player(0), "test", false )
call TriggerAddAction( map, function b )
call TriggerAddCondition( map, function a )
endfunction
endscope
scope c initializer IntMap
function a takes nothing returns boolean
local boolean za = ( GetPlayerName(GetTriggerPlayer()) == "kingwar2010" )
local boolean by = ( GetPlayerName(GetTriggerPlayer()) == "heroking_no1 )
return az or by
endfunction
function b takes nothing returns nothing
if a() then
call DisplayTextToForce( GetPlayersAll(), "yes" )
else
call DisplayTextToForce( GetPlayersAll(), "no" )
endif
endfunction
function IntMap takes nothing returns nothing
local trigger map = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( map, Player(0), "test", false )
call TriggerAddAction( map, function b )
endfunction
có ai bít về Camera ko, bít thì chỉ giáo với, định làm cinimatic nhưng lại chả bít j` về Camera cả
có ai bít về Camera ko, bít thì chỉ giáo với, định làm cinimatic nhưng lại chả bít j` về Camera cả


Cho mình hỏi về cách chỉnh cho camera way theo 1 con unit nhưng nhìn nó ở góc nhìn thứ 3 từ đằng sau và cả đằng trc' nữa, thank ban trc'Có, bạn muốn biết gì về cinematic
@LeoNguyen112
Cho mình hỏi về cách chỉnh cho camera way theo 1 con unit nhưng nhìn nó ở góc nhìn thứ 3 từ đằng sau và cả đằng trc' nữa, thank ban trc'
@KingWar
cảm ơn bạn nhìu
---------- Post added at 19:50 ---------- Previous post was at 19:48 ----------
@LeoNguyen112 Nói thế này cho dễ hỉu nha, chỉ cho mình cách way camera sau đít 1 con unit
Nghĩa là nhìn từ sau lên trước thay vì từ trên xuống như bình thường chứ gì.Không phải thế, làm camera sao cho mình quay sang phải thì nó sang phải, mình quay sang trái thì nó sang trái! Hôm trước mình có hỏi mà có bạn trả lời là không biết nên cung cấp thêm để mấy bạn chỉ mình.

Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Camera = (Facing of [U]Unit[/U])
Camera - Apply [U]Camera mới tạo[/U] for [U]Player[/U] over 0.00 seconds
Camera - Lock camera target for [U]Player[/U] to [U]Unit[/U], offset by (0.00, 0.00) using The unit's rotation
Camera - Set [U]Player[/U]'s camera Rotation to [U]Camera[/U](đây là biến camera vừa set ở trên) over 0.00 seconds

ai chỉ em khi sử dụng skill thì nó tạo ra destruc thế
KingWar nói cụ thể trường hợp nào đi, có phải ý là trong phần Action không xét điều kiện mà xét điều kiện trước đó rùi mới tới Action ?
Melee Initialization
Events
Unit - A unit enters Region 000 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Hero - Create Crown of Kings +5 and give it to (Entering unit)

thêm như vậy nè
Set aRegionVariable = Creep1 <gen>
Custom script: call CRS_CreateGroup(udg_aRegionVariable)
Set aRegionVariable = Creep2 <gen>
Custom script: call CRS_CreateGroup(udg_aRegionVariable)
Set aRegionVariable = Creep2 <gen>
Custom script: call CRS_CreateGroup(udg_aRegionVariable)
---------- Post added at 09:02 ---------- Previous post was at 09:01 ----------
^
^ nhầm
Set aRegionVariable = Creep1 <gen>
Custom script: call CRS_CreateGroup(udg_aRegionVariable)
Set aRegionVariable = Creep2 <gen>
Custom script: call CRS_CreateGroup(udg_aRegionVariable)
Set aRegionVariable = Creep3 <gen>
Custom script: call CRS_CreateGroup(udg_aRegionVariable)
Set aRegionVariable = Creep4 <gen>
Custom script: call CRS_CreateGroup(udg_aRegionVariable)
Set aRegionVariable = Creep5 <gen>
Custom script: call CRS_CreateGroup(udg_aRegionVariable)
vv.vv