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-20 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 20, 2009, 10:19:27 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Hall of Fame
Must Visit it
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: Skill wont work.  (Read 42 times)
<---TexNo--->
Level 7 Master
*******
Offline Offline

Norway

Posts: 383


< CCG Co-Owner >


WWW
texno755 or nichosv
gameren755

myServer 84.210.8.188:27015
(Warning: click connects through Steam)
« on: July 18, 2009, 11:08:42 PM »

This skill wont work th way i want it to work.
Its supposed to teleport you under ground where you stand but its teleports you to the middle of the map on and when you click again its supposed to teleport you up same place again... everymap, and when push again you get teleported to middle again.
And when you try on other map it goes to the same position on every map.
Any body can help me with the skill... ?  Cheesy

Code:
    "skill5_setting" "0"
    "racealias_TSup" "es_keysetvalue WCSuserdata server_var(wcs_userid) TSup 1;es_getplayerlocation server_var(wcs_userid) wcs_x1 wcs_y1 wcs_z1;es_math wcs_z1 - 72;es_setpos server_var(wcs_userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)"
    "racealias_TSdwn" "es_keysetvalue WCSuserdata server_var(wcs_userid) TSup 0;es_math wcs_z1 + 72;es_setpos server_var(wcs_userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)"
    "skill5_cmd" "es_keysetvalue WCSuserdata server_var(wcs_userid) TSup 0;es_keygetvalue wcs_tmp WCSuserdata server_var(wcs_userid) TSup;if (server_var(wcs_tmp) = 0) then racealias_TSup;if (server_var(wcs_tmp) = 1) tehn racealias_TSdwn"
    "skill5_sfx" "0"
    "ultimate_cooldown" "10"

« Last Edit: July 18, 2009, 11:13:55 PM by <---TexNo---> » Logged



plong
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 11



WWW

myServer 93.190.64.130:27015
(Warning: click connects through Steam)
« Reply #1 on: July 19, 2009, 02:17:25 AM »

it seems to me that you lost the location in the time between moving down and up. try to get the playerlocation again in the second racealias.

try this:
Code:
[...]
"racealias_TSdwn" "es_keysetvalue WCSuserdata server_var(wcs_userid) TSup 0;es_getplayerlocation server_var(wcs_userid) wcs_x1 wcs_y1 wcs_z1;es_math wcs_z1 + 72;es_setpos server_var(wcs_userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)"
[...]
Logged

X510
Level 0 Beginner

Offline Offline

United States United States

Posts: 10




yyzwtf
X510
« Reply #2 on: July 19, 2009, 08:48:32 AM »

texno u can always copy the zerglings race i think thats a head crab but it hides under ground if so i believe u can recode the stuff around i can try and help you add me or ill add you to steam ltr on today its uh 4 am here and i just get on here to check out stuffz
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
July 19, 2009, 09:48:37 PM
newest race Cheesy
http://warcraft-source.com/board/index.php/topic,7948.0.html
check it out and dont say its op bc i promise it not
July 18, 2009, 11:42:07 PM
Cheesy
July 18, 2009, 11:39:50 PM
still..
July 18, 2009, 11:35:47 PM
He isnt Porno its just his name Cheesy
Recent
[Today at 09:59:25 AM]

[Today at 09:55:25 AM]

[Today at 09:48:32 AM]

[Today at 09:35:10 AM]

[Today at 09:28:24 AM]

[Today at 09:26:26 AM]

[Today at 09:23:22 AM]

[Today at 08:51:50 AM]

[Today at 04:45:02 AM]

[Today at 01:48:14 AM]
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.074 seconds with 25 queries.