LeoNguyen112
Dragon Quest
- 22/5/10
- 1,438
- 581
Làm sao xuống dòng trong concatenate string nhỉ 

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.

không biết thì đừng bốc phét
---
passive remove hero đã random ? có passive đó à?
Player - Set Limit Training of Unit-Type
Mã:Player Group - Pick every player in (All players) and do (Actions) Loop - Actions Player - Limit training of <hero> to 0 for (Picked player)
thay vào unit-type của hero đã random


anh đừng có nghe lời mị dân tên 97 đó, nó biết vẹo gì đâu, toàn spam nhảm box DotA với bên đâyban đầu em cũng nhịn
1 trigger 2 event nó sẽ xét: 1 trong 2 cái xảy ra= thực hiện, 2 cái xảy ra cùng =x2 thực hiện, vậy đấy![]()



^
cái ấy ko xuống dòng đc
cho em hỏi luôn cái remove hero khi 1 player pick hero đó![]()
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Limit training of <hero> to 0 for (Picked player)
Làm sao xuống dòng trong concatenate string nhỉ![]()

Có chắc không mà phát biểu mạnh miệng thế?
Từ bài bác Tom. Có chịu đọc không nhỉ?Mã:Player Group - Pick every player in (All players) and do (Actions) Loop - Actions Player - Limit training of <hero> to 0 for (Picked player)

Xài rồi, không được, nó hiện ra |n luôn.
Thấy có đứa bảo \n hay /n (trong jass), thử cũng không được. Nhưng chắc phải có cách, vì thấy blizzard nó làm quest update có cả string + integer -> vẫn xuống dòng được.
Init
Events
Map initialization
Conditions
Actions
Custom script: set udg_PassLine = "\n"
Heh
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Game - Display to (All players) for 30.00 seconds the text: ((1 + 2 + PassLine) + = 3)
Clear
Events
Player - Player 1 (Red) types a chat message containing -clear as An exact match
Conditions
Actions
Set TempForce = (Player group((Triggering player)))
Cinematic - Clear the screen of text messages for TempForce
Custom script: call DestroyForce( udg_TempForce )
... nhưng nói gì thì nói anh cũng hài hước phết nhỉ 
nể tình anh cũng có công dây em nên em chịu ăn point chứ ko thì... <hình doreamon của anh với bài post "ờ ừm....">
à mà chỉ cái -clear đi![]()
cho no hỏi nhé, ability channel nó làm được gì thế![]()
cho no hỏi nhé, ability channel nó làm được gì thế![]()

đây có chỉ nè bạn
http://forums.gamevn.com/showpost.php?p=6713779&postcount=5?p=6713779&postcount=5
lại quên lời đã nói?" Rep phải coi lại lời ăn tiếng nói, chưa thấy chuẩn thì edit đến khi thấy hợp rồi hẳn post"
chú đừng có xem như mình bố ai cả, ở đây ai cũng từng trải qua cái tuổi của chú cả ấy, anh Tom-sama cũng từng, anh cũng từng, nên vậy họ phải biết cân mực các lời nói của mình sất

Untitled Trigger 1 Copy
Events
Player - Player 1 (Red) types a chat message containing -kd as An exact match
Conditions
Actions
Game - Display to (All players) the text: (Kills: + ((String(Kills[1])) + ( ; Deaths: + (String(Deaths[1])))))
Set Random Hero
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
-------- The Light --------
Set Random_hero[1] = Paladin
Set Random_hero[2] = Mountain King
Set Random_hero[3] = Archmage
Set Random_hero[4] = Blood Mage
Set Random_hero[5] = Priestess of the Moon
-------- The Darkness --------
Set Random_hero[7] = Troll
Set Random_hero[6] = Grom Hellscream
Set Random_hero[5] = Grom Hellscream
Player 1
Events
Player - Player 1 (Red) types a chat message containing -rd as An exact match
Conditions
Actions
Player - Add -1 to Player 1 (Red) Current lumber
Player - Add 200 to Player 1 (Red) Current gold
Wait 5.00 seconds
Player - Limit training of (Unit-type of (Last created unit)) to 0 for (Picked player)
Unit - Create 1 Random_hero[(Random integer number between 1 and 5)] for (Triggering player) at (Center of Hero 1 <gen>) facing Default building facing degrees
Selection - Select (Last created unit)
Trigger - Turn off (This trigger)


9 xác , dc 1 số ít là wan tâm forums thôi còn lại chĩ vào để down và lao đầu vào chơi
1 số ít khác là đặt những câu hỏi của FF 1 VNG hay là con nik 5 tuổi , k chịu tìm hỉu j hết lao đầu vào là hỏi > thế sao mà khá dc

cho em hỏi cái này nữa, 2 trigger này bị 2 lỗi:
1 là nó toàn random ra con Grom HellscreamMã:Set Random Hero Events Time - Elapsed game time is 0.00 seconds Conditions Actions -------- The Light -------- Set Random_hero[1] = Paladin Set Random_hero[2] = Mountain King Set Random_hero[3] = Archmage Set Random_hero[4] = Blood Mage Set Random_hero[5] = Priestess of the Moon -------- The Darkness -------- Set Random_hero[7] = Troll Set Random_hero[6] = Grom Hellscream Set Random_hero[5] = Grom Hellscream Player 1 Events Player - Player 1 (Red) types a chat message containing -rd as An exact match Conditions Actions Player - Add -1 to Player 1 (Red) Current lumber Player - Add 200 to Player 1 (Red) Current gold Wait 5.00 seconds [COLOR="#FF0000"]Player - Limit training of (Unit-type of (Last created unit)) to 0 for (Picked player)[/COLOR] Unit - Create 1 Random_hero[(Random integer number between 1 and 5)] for (Triggering player) at (Center of Hero 1 <gen>) facing Default building facing degrees Selection - Select (Last created unit) Trigger - Turn off (This trigger)
2 là nó ko remove hero ấy khỏi tavern![]()
scope NetherSwap
globals
private integer ABIL_ID = 'A06Q' // Your spell rawcode here
endglobals
private function Conditions takes nothing returns boolean
return GetSpellAbilityId() == ABIL_ID
endfunction
private function Actions takes nothing returns nothing
local unit caster = GetTriggerUnit()
local unit target = GetSpellTargetUnit()
local real xcaster = GetUnitX(caster)
local real ycaster = GetUnitY(caster)
local real xtarget = GetUnitX(target)
local real ytarget = GetUnitY(target)
call SetUnitPosition(caster, xtarget, ytarget)
call SetUnitPosition(target, xcaster, ycaster)
set caster = null
set target = null
endfunction
//=============================================================
public function Trig_HoanDoi takes nothing returns nothing
local trigger t = CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(t, EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(t, Condition(function Conditions))
call TriggerAddAction(t, function Actions)
set t = null
endfunction
endscope
cái function Trig_HoanDoi, đổi tên thành InitTrig xem sao
hoặc: scope NetherSwap initializer Trig_HoanDoi <-- thêm vào