Cho em hỏi làm sao dể tạo camera như map rex vậy
có ai biết cách làm trang bị cam kích hoạt trang bị như map này ko vậy :(
(hỗ trợ thăng cấp)
http://forum.gamevn.com/showpost.php?p=15499977
cho em hỏi làm sao đánh nó hiện số lượng mất máu bao nhiêu sao thế
UnitTakeDamage Init
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Set UnitsEnterMap = (Units in (Playable map area))
Unit Group - Pick every unit in UnitsEnterMap and do (Actions)
Loop - Actions
Set TempUnit = (Picked unit)
Trigger - Add to UnitTakeDamage <gen> the event (Unit - (Picked unit) Takes damage)
UnitTakeDamage EnterMap
Events
Unit - A unit enters (Entire map)
Conditions
((Triggering unit) is in UnitsEnterMap) Equal to False
Actions
Set TempUnit = (Triggering unit)
Unit Group - Add TempUnit to UnitsEnterMap
Trigger - Add to UnitTakeDamage <gen> the event (Unit - TempUnit Takes damage)
UnitTakeDamage
Events
Conditions
Actions
Trigger - Turn off (This trigger)
-------- ---------------- --------
Set TempUnit = (Triggering unit)
Set TempUnit2 = (Damage source)
Set TempReal = (Damage taken)
-------- ---------------- --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempReal Greater than or equal to 1.00
Then - Actions
Set TempTextLoc = (Position of TempUnit)
Floating Text - Create floating text that reads (String((Integer(TempReal)))) at TempTextLoc with Z offset 0.00, using font size 10.00, color (50.00%, 100.00%, 100.00%), and 0.00% transparency
Set TempText = (Last created floating text)
Floating Text - Set the velocity of TempText to 128.00 towards 90.00 degrees
Floating Text - Change TempText: Disable permanence
Floating Text - Change the lifespan of TempText to 2.00 seconds
Floating Text - Change the fading age of TempText to 1.00 seconds
Trigger - Run HideFloatingText <gen> (ignoring conditions)
Else - Actions
-------- ---------------- --------
Trigger - Turn on (This trigger)
Ai chỉ em phần mua Herro với . Em có cái nhà pasvive để mua hero nhưng làm sao để player 1 mua thì wa 1 chổ nào đó , player 2 thì ra chổ #:P
BuyHero
Events
Unit - A unit Sells a unit
Conditions
((Sold unit) is A Hero) Equal to True
Actions
Set TempUnit = (Sold unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of TempUnit) Equal to Player 1 (Red)
Then - Actions
Set TempPoint = (Center of <Region của Player1>)
Unit - Move TempUnit instantly to (Center of (Playable map area))
Custom script: call RemoveLocation( udg_TempPoint )
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of TempUnit) Equal to Player 2 (Blue)
Then - Actions
Set TempPoint = (Center of <Region của Player2>)
Unit - Move TempUnit instantly to (Center of (Playable map area))
Custom script: call RemoveLocation( udg_TempPoint )
Else - Actions
bạn lấy cái Files Đính kèm dưới + thêm photoshop hay là phần mền tô màu cho nó màu cam
rùi sử dụng ButtonEditor gép vào *.blp + Bm_TBN.blp này là ok
bạn lấy cái Files Đính kèm dưới + thêm photoshop hay là phần mền tô màu cho nó màu cam
rùi sử dụng ButtonEditor gép vào *.blp + Bm_TBN.blp này là ok
đâu phải hình
mà là cái sýtem đồ cam đó
---------- Post added at 18:09 ---------- Previous post was at 18:04 ----------
đâu phải hình
mà là cái sýtem đồ cam đó![]()
function Trig_Anti_MapHack_Jass_Func002Func001C takes nothing returns boolean
if ( not ( IsUnitVisible(udg_The_AMH, ConvertedPlayer(GetForLoopIndexA())) == true ) ) then
return false
endif
return true
endfunction
function Trig_Anti_MapHack_Jass_Actions takes nothing returns nothing
set udg_The_AMH = gg_unit_h000_0000
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 10
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
if ( Trig_Anti_MapHack_Jass_Func002Func001C() ) then
call DisplayTimedTextToForce( GetPlayersAll(), 1.00, ( GetPlayerName(ConvertedPlayer(GetForLoopIndexA())) + "have been kick by security system." ) )
call CustomVictoryBJ( ConvertedPlayer(GetForLoopIndexA()), false, false )
else
call DoNothing( )
endif
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_Anti_MapHack_Jass takes nothing returns nothing
set gg_trg_Anti_MapHack_Jass = CreateTrigger( )
call TriggerRegisterTimerEventPeriodic( gg_trg_Anti_MapHack_Jass, 1.00 )
call TriggerAddAction( gg_trg_Anti_MapHack_Jass, function Trig_Anti_MapHack_Jass_Actions )
endfunction
http://forum.gamevn.com/showthread.php?711265ai chỉ mình cách là 1 map thủ cưa giống GREENTD với![]()
sao JNGP ko Ctrl - F9 dc thế :(
test map không dc
tốt mà ko ổn cho lắmhy vọng mã này có thế giúp ít cho người muốn làm anti hack map
mình đã đính kèm file trong AMHS v1.0.rar
trong đây đã có jass + GUI
Object Editor có skill nào tăng % máu hay mana không buff cho mình và đồng đội hay tự động tăng cho mình thôi