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 2010-01-03 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 03, 2010, 07:41:20 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as... HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
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: HP Get skill  (Read 104 times)
Volunterrors
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 62



WWW

myServer 8.12.71.26:27015
(Warning: click connects through Steam)
« on: June 18, 2009, 02:26:32 AM »

This skill is supposed to get the players HP and then add that amount to their HP. I have tried writing this many different ways but it doesn't work.
I really want it give you the amount of HP it gets the next time you spawn how do I delay it to give the hp when you spawn? 

Ultimate block
Code
GeSHi (eventscripts):
block wcs_hpget
{
es playerget health server_var(wcs_addhealth) event_var(userid);es est_health event_var(userid) + server_var(wcs_addhealth)
}
 
Logged

Maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 1493



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #1 on: June 18, 2009, 08:20:30 AM »

es_deyaled 10 est_healthadd event_var(userid) server_var(wcs_addhealth)
Logged

Maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 1493



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #2 on: June 18, 2009, 05:45:49 PM »

i really dont get what you want lol
Logged

Volunterrors
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 62



WWW

myServer 8.12.71.26:27015
(Warning: click connects through Steam)
« Reply #3 on: June 19, 2009, 02:10:27 AM »

It gets the players Health lets say 100 then the next time the player spawns that health (100) is added it his health. giving him 200 health.
Logged

trappe2
Level 1 Trained Beginner
*
Offline Offline

Denmark Denmark

Posts: 25




remathias1
« Reply #4 on: November 06, 2009, 11:55:00 PM »

Code
GeSHi (eventscripts):
[/"skill5_setting"    "es_xset wcs_addhealth 50|es_xset wcs_addhealth 100|es_xset wcs_addhealth 200|es_xset wcs_addhealth 400|es_xset wcs_addhealth 800|es_xset wcs_addhealth 1600|es_xset wcs_addhealth 10000"
   "skill5_cmd"        "es est_Health event_var(userid) + server_var(wcs_addhealth);es es_xtell event_var (userid) #multi #lightgreen You have Gained #green server_var(wcs_addhealth) HP."
   "skill5_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 40;es_toptext event_var(userid) 1 #red Effects by HOLLIDAY;es est_effect 10 #a 0 models/effects/splodecard2_sheet.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 250 190 3 150 100 1 155 115 100 200 3"]
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 07:37:39 AM
who will be running this site... since most admin will be on other site
January 02, 2010, 11:33:33 PM
i mean if you start 100 cmd instances and type ping google.com in all, after a while it will show timeout, but site will still be only for everyone but you Tongue
January 02, 2010, 11:33:01 PM
no you don't Tongue
a site can barely "crash"
though, it can have a timeout, and in this case it's in most case your i-net connection which has the timeout with the site
January 02, 2010, 11:24:47 PM
i think i crash the http://www.fpsbanana.com/ site.... after spamming logging...lol
January 02, 2010, 10:10:49 PM
Well thank you Smiley fucker. Tongue
January 02, 2010, 10:09:16 PM
Welcome back Pietro Tongue
January 02, 2010, 10:06:04 PM
Welcome back Eric Tongue
Recent
[Today at 07:30:40 AM]

[Today at 07:24:28 AM]

[Today at 02:55:13 AM]

[Today at 12:24:21 AM]

[Today at 12:05:09 AM]

[January 02, 2010, 11:26:04 PM]

[January 02, 2010, 10:59:30 PM]

[January 02, 2010, 10:26:02 PM]

[January 02, 2010, 10:24:45 PM]

[January 02, 2010, 09:32:57 PM]
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.167 seconds with 23 queries.