Code:
"skill3_setting" "es_xsetinfo wcs_chance 10|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 40|es_xsetinfo wcs_chance 50"
"racealias_shfl31" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_delayed 0.3 est_teleport event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es es_delayed 0.6 est_setaim event_var(userid) event_var(attacker) 0;es est_freeze event_var(attacker) 1;es_delayed 1.1 est_freeze event_var(attacker) 0;racealias_shfl32;racealias_shfl33"
"racealias_shfl32" "es wcs_dealdamage event_var(userid) event_var(attacker) 10;es_tell event_var(userid) : Defensive Lunge;es_tell event_var(attacker) : event_var(es_attackername) Lunged onto you for extra 10 damage, and is BEHIND YOU!"
"skill3_cmd" "es est_isalive wcs_alive event_var(userid); if (server_var(wcs_alive) = 1) then es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_shfl31"
"racealias_shfl33" "es est_effect 7 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 10"
"skill3_sfx" "0"
"racealias_shfl31" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_delayed 0.3 est_teleport event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es es_delayed 0.6 est_setaim event_var(userid) event_var(attacker) 0;es est_freeze event_var(attacker) 1;es_delayed 1.1 est_freeze event_var(attacker) 0;racealias_shfl32;racealias_shfl33"
"racealias_shfl32" "es wcs_dealdamage event_var(userid) event_var(attacker) 10;es_tell event_var(userid) : Defensive Lunge;es_tell event_var(attacker) : event_var(es_attackername) Lunged onto you for extra 10 damage, and is BEHIND YOU!"
"skill3_cmd" "es est_isalive wcs_alive event_var(userid); if (server_var(wcs_alive) = 1) then es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_shfl31"
"racealias_shfl33" "es est_effect 7 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 100 10"
"skill3_sfx" "0"
I mean, I figure it would have something to do with getting the direction the player is facing (for behind them) and offsetting the tele just a bit, but I don't know if there is an applicable variable or if that's even possible in this mod. I would really appreciate some . I would like to add the offset tele to a couple races, like an assassin style knife class so I could have a slowed down, fully invis, knifer who can teleport behind someone. Of course in that instance it would be an ultimate instead of the whole wcs_chance defining it. But that's a story for another day. First gotta figure this out. Thanks in advance for any . You guys have been very helpful to me so far in my ventures.
P.S. - How do I work on ability cooldowns and tying a skill to a "press ability button" kinda thing that isn't an ultimate. Always wondered about that, cause my faceless void's Time Walk ability is broken and I need to know how to fix it (If it isn't just that whoever gave it to me forgot to include it in the skills database D:)





United States
Logged

