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-07-01 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 01, 2009, 02:26:45 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Please obey the rules, to achieve a pleasent order in our community.
Google  
  Home   Forum   Help Search 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: world damage immune?  (Read 35 times)
Ours Orange
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 13



« on: June 29, 2009, 06:10:53 AM »

is it something that can be done? behign able to resist all world damage?
Logged
WCA | Berettonawak [FR]
Le renommé méconnu...
Watchdogs
Level 7 Master
*****
Offline Offline

France France

Posts: 2386


Big Berettonawak is watching you...


WWW
Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #1 on: June 29, 2009, 08:35:23 AM »

Do you want it to be a race?
or just a simple script?
Logged

Ours Orange
Level 0 Beginner

Offline Offline

Canada Canada

Posts: 13



« Reply #2 on: June 29, 2009, 04:29:28 PM »

a skill on a race like 20% chance to do it
Logged
[Oddity]TeacherCreature
Co-Administrator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1348



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #3 on: June 30, 2009, 03:19:41 PM »

Never tried but I wonder if you could do a check to see if weapon or attacker was = world?
If you can do that it is easy just do est_heatlh the damage.


I have no idea if this will work but something like this? maybe  ?

if (event_var(attacker) == "world") then est_health event_var(userid) event_var(damage)


Logged

WCA | Berettonawak [FR]
Le renommé méconnu...
Watchdogs
Level 7 Master
*****
Offline Offline

France France

Posts: 2386


Big Berettonawak is watching you...


WWW
Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #4 on: June 30, 2009, 04:16:00 PM »

Never tried but I wonder if you could do a check to see if weapon or attacker was = world?
If you can do that it is easy just do est_heatlh the damage.


I have no idea if this will work but something like this? maybe  ?

if (event_var(attacker) == "world") then est_health event_var(userid) event_var(damage)



that's a part of the script, you also need a pre-hook to avoid dying if being dealt too much damage (est_regeventhook?)
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 01:43:37 AM
Don't let the door hit you in the back on your way out
Today at 01:17:04 AM
good luck and have fun on here, for as long as you still can http://warcraft-source.com/board/index.php/topic,7795.new.html#new
Today at 12:59:15 AM
wow, thats like reality tv. funny to watch. Tongue
June 30, 2009, 10:05:19 PM
welcome back.
June 30, 2009, 12:29:30 PM
I'll try not to Tongue
June 30, 2009, 12:08:47 PM
dont get banned again pietro Tongue

wb Smiley
June 30, 2009, 10:56:06 AM
Thanks Berettonawak Smiley
Recent
by maze
[Today at 02:13:43 AM]

[Today at 02:03:08 AM]

[Today at 02:00:50 AM]

[Today at 01:54:43 AM]

by MiiX
[Today at 01:17:45 AM]

[Today at 01:02:23 AM]

[Today at 12:55:03 AM]

by maze
[Today at 12:54:12 AM]

[Today at 12:00:05 AM]

[June 30, 2009, 11:11:59 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.054 seconds with 24 queries.