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 2008-05-18 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
May 18, 2008, 10:07:00 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
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: wont give armor , but say it is help plz  (Read 85 times)
killsign
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 88



WWW
yellowdragon65
KillSign
« on: May 11, 2008, 03:29:59 PM »

 "skill2_setting"    "es_xsetinfo wcs_armor 25|es_xsetinfo wcs_armor 50|es_xsetinfo wcs_armor 75|es_xsetinfo wcs_armor 100|es_xsetinfo wcs_armor 120|es_xsetinfo wcs_armor 150"
    "skill2_cmd"        "es est_Armor event_var(userid) + server_var(wcs_armor);es es_xtell event_var(userid) #lightgreen Your scales has been regenerated by server_var(wcs_armor) scales"
    "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation"
Logged

He who fights with monsters should look to it that he himself does not become a monster... when you gaze long into the abyss the abyss also gazes into you...
seconds
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 52



« Reply #1 on: May 12, 2008, 05:45:23 AM »

i think you need to use es_math for it to add like that
Logged
mobsi
Level 5 Trained Intermediate
*****
Offline Offline

Germany Germany

Posts: 103



« Reply #2 on: May 12, 2008, 10:58:27 AM »

is it a spawn skill?

your syntax seems to be ok but you can also use

est_ArmorAdd <players> <number>

est_GetArmor <variable> <indentifier> and est_SetArmor <identifier> <value>
like
es_xsetinfo armor 0;es est_getarmor armor event_var(userid);es_xmath armor + server_var(wcs_armor);es est_setarmor event_var(userid) server_var(armor)


and what the hell shall the sfx do? xD
« Last Edit: May 12, 2008, 11:07:48 AM by mobsi » Logged
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 482


Big Berettonawak is watching you...


WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #3 on: May 12, 2008, 03:00:48 PM »

like mobsi said :
1) use est_armoradd event_var(userid) server_var(wcs_armor)
2) your sfx won't work.
« Last Edit: May 16, 2008, 11:34:55 AM by Berettonawak » Logged

French Warcraft Coder and Famas Owner...
killsign
Level 4 Intermediate
****
Offline Offline

United States United States

Posts: 88



WWW
yellowdragon65
KillSign
« Reply #4 on: May 12, 2008, 06:57:24 PM »

ya i got half way trough it and posted it here cause it wouldn't give the armor. Only been trying to code for a few weeks so plz point out my noob mistakes. I have only coded a few skills on my own and i get some help from Noobzard. Thank you all for all your time and effert. I'm going to go try to fix it now 
Logged

He who fights with monsters should look to it that he himself does not become a monster... when you gaze long into the abyss the abyss also gazes into you...
mobsi
Level 5 Trained Intermediate
*****
Offline Offline

Germany Germany

Posts: 103



« Reply #5 on: May 12, 2008, 07:31:15 PM »

good luck with that  

@berettnoawak its est_addarmor event_var(userid) server_var(wcs_armor)
the "add" in est_addarmor already includes that you increase the value ^^ you dont          need an extra operator
Logged
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 482


Big Berettonawak is watching you...


WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #6 on: May 16, 2008, 11:34:45 AM »

oh yeah sorry 
Logged

French Warcraft Coder and Famas Owner...
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
May 15, 2008, 05:42:44 PM
I know but the beta is so buggy
May 15, 2008, 12:25:09 AM
lol don't hold your breath on ES 2.0 no being beta... ES1.5 was 'beta' for months after what is now the final build was posted.

~J3ff
May 14, 2008, 02:31:45 PM
TY I will add more than..I am slowly rewriting them all for 0.77 and when es2.0 becomes non beta i will prolly switch to python
May 12, 2008, 09:29:06 PM
@TeacherCreature: Downloads approved
May 12, 2008, 02:54:38 PM
ty
May 12, 2008, 02:32:44 PM
Congratz
May 12, 2008, 02:01:38 AM
I got a FAST DL server  - YAY
Recent
[Today at 09:54:00 PM]

[Today at 08:30:41 PM]

[Today at 07:50:55 PM]

[Today at 07:42:07 PM]

[Today at 07:12:37 PM]

[Today at 06:58:50 PM]

[Today at 06:27:44 PM]

[Today at 05:48:27 PM]

[Today at 04:19:49 PM]

[Today at 03:05:31 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.042 seconds with 25 queries.