lonewolf020291
T.E.T.Я.I.S
- 16/3/07
- 579
- 1,017
4 hay 40 chả liên quan. Ngặt nỗi là tôi làm theo cái tut và nó làm rất tốt (đã test LAN) (Dù cái tut đã 6 năm tuổiSr nhưng mình đã bỏ WE hơn 4 năm, mình đã đọc tut đó rồi, đã test thử nhưng ngặt nỗi nó không áp dụng cho nhiều player đc.![]()
). Thôi thì đây là cái bạn muốn.[spoil]
Mã:
Init
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Set TempLoc = (Location(0,0))
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked player) controller) Equal to User
((Picked player) slot status) Equal to Is playing
Then - Actions
Floating Text - Create floating text that reads <Empty String> at TempLoc with Z offset 12.00, using font size 10.00, color (100.00%, 80.00%, 80.00%), and 0.00% transparency
Set Chat_Text[(Player number of (Picked player))] = (Last created floating text)
Trigger - Add to Chat <gen> the event (Player - (Picked player) types a chat message containing <Empty String> as A substring)
Player Group - Add (Picked player) to Chat_Group
Else - Actions
Customscript: call RemoveLocation( udg_TempLoc)
Mã:
Chat
Events
Conditions
Actions
Set Temp_Int[0] = (Player number of (Triggering player))
Floating Text - Change text of Chat_Text[Temp_Int[0]] to (Entered chat string) using font size 12.00
Mã:
Move
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Player Group - Pick every player in Chat_Group and do (Actions)
Loop - Actions
Set Temp_Int[1] = (Player number of (Picked player))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Chat_Hero[Temp_Int[1]] is alive) Equal to True
Then - Actions
Floating Text - Change the position of Chat_Text[Temp_Int[1]] to Chat_Hero[Temp_Int[1]] with Z offset 12.00
Else - Actions
Floating Text - Change text of Chat_Text[Temp_Int[1]] to <Empty String> using font size 12.00
Attachments
Chỉnh sửa cuối:
?

