Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2009-08-13 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
August 13, 2009, 08:35:14 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
Google  
  Home   Forum   Help Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: team damage  (Read 26 times)
Shidobu
Level 1 Trained Beginner
*
Offline Offline

United States United States

Posts: 27




shidobuassailant
« on: August 09, 2009, 08:27:38 PM »

i was wondering if theres a way to make so if some gets attacked it does mirror damage to all the of the attacker's team not just the attacker.
and if can some how make it say the attacker did it with turning on like mp_friendlyfire 1 or somin like that.
Logged

Enjoy
CA.Berettonawak
Le renommé méconnu...
Level 7 Expert
*****
Offline Offline

France France

Posts: 2476


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #1 on: August 09, 2009, 09:25:25 PM »

I guess you could do something like:
Code:
es_xset wcs_team "#c"
es_getplayerteam wcs_tmp event_var(userid)
if (server_var(wcs_tmp) == 2) then es_xset wcs_team "#t"
es_xcopy wcs_x1 mp_friendlyfire
es_xforcevalue mp_friendlyfire 1
foreach player wcs_tmp server_var(wcs_team) "es wcs_dealdamage event_var(userid) server_var(wcs_tmp) 5;es_tell server_var(wcs_tmp) You were dealt 5 mirror damage by event_var(es_attackername)"
es_forcevalue mp_friendlyfire server_var(wcs_x1)
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 06:43:10 PM
Hi
Today at 04:30:40 PM
hope the 40% helps ^^
Today at 04:08:16 PM
Yes like 40 % here knows.
its easy...
Today at 04:02:21 PM
Does anyone know how to make a Priest for wcs? that heals their comrades
Today at 12:03:43 PM
Yes it is..
August 12, 2009, 09:41:24 PM
Wow cool website its helps for wcs server
August 12, 2009, 08:48:39 PM
s-low has pretty cool stuff Cheesy
Recent
[Today at 08:13:56 PM]

[Today at 08:06:52 PM]

[Today at 07:48:45 PM]

[Today at 06:21:30 PM]

by M.R.
[Today at 04:44:33 PM]

by M.R.
[Today at 04:40:11 PM]

[Today at 03:51:25 PM]

[Today at 03:14:04 PM]

[Today at 11:10:08 AM]

[Today at 10:53:00 AM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.089 seconds with 25 queries.