Dalam GUI, kita pun dapat menerapkan sistem damage detection, yaitu menampilkan damage yang diterima oleh suatu unit. Misalnya:
Bwt dolo tringer kosong
Terus bwt lagi dan isikan:
Event: Each 3 seconds of the time.
Action: Pick every unit in playable map area
-Add new event to (Tringer loe) Picked unit has takes a damage
Terus Di tringer loe yg kosong:
Conditions: (real) damage taken not equal to 0 - ini supaya angka 0 tidak di tampilkan.
Actions: Create Floating Text: Real(damage taken) Z offset 0, size 9, colour 100, 100, 100. (klo maw supaya bewarna, setting dah. Tpi klo supaya Warnanya sesuai dengan player`s color, loe harus setting menggunakan Variable array (string), misal untuk player1 = Set Variable, PlayerColor[1]=|cffff0000+Player Name(Player 1)+|r)
Balik lagi ke Actions
Set disable permanent last created Floating Text
Set veloicy last created floating text to 64 toward 90 degress
Set Fading Age last created floating text to 1,5
Set lifespan last created Floating Text to 3
Nah selese dah, Klo maw liad contoh, download aj map bwtan q. Tpi di proteksi, Sabar yah.
Ni map ku TheBladeWaY CTF
Share This Thread