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-04-12 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: Re: help with an ultimate  (Read 412 times)

Offline GODSWIND

  • Level 1 Trained Beginner
  • *
  • Posts: 22
Re: help with an ultimate
« Reply #15 on: March 12, 2009, 08:59:12 PM »
many thanks holliday

this works:
server_var(_popup_userid)

now i am going to prove the stopsound

and tyhe finished thing is the conditional that doesnt works
Code: [Select]
[block kame
{
 es est_playplayer server_var(_popup_userid)  goku/wcKamehameha.wav
 es_xset mivar 0
 es es_delayed 3 est_getviewplayer server_var(_popup_userid)  mivar
 if (server_var(mivar) != "0") do
 {
   es es_delayed 3 est_playplayer server_var(_popup_userid)  goku/wfKamehameha.wav
   es es_delayed 3 es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(_popup_userid)
   es es_delayed 3 es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(mivar)
   es es_delayed 3 est_effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 1 10 10 0 0 180 255;es wcs_dealdamage server_var(_popup_userid)  server_var(mivar) 300
 }}/code]

Offline [Oddity]TeacherCreature

  • Moderator
  • Level 7 Expert
  • *****
  • Posts: 1433
    • Mirai Max clan
Re: help with an ultimate
« Reply #16 on: March 13, 2009, 02:27:58 AM »
You may just want to save the userid into a new variable, I am not sure but that may have an issue if two people are on the same race and have menus popup at different times.
I am not familiar with this because I have not tried to test it, but you may want to.

Offline GODSWIND

  • Level 1 Trained Beginner
  • *
  • Posts: 22
Re: help with an ultimate
« Reply #17 on: March 13, 2009, 08:46:30 AM »
ok i will try, but whats about the conditional? (es_if)
it doesnt works

Offline HOLLIDAY

  • <Race Maker>
  • Watchdogs
  • Level 7 Expert
  • *****
  • Posts: 2373
  • of all the things ive lost i miss my mind the most
    • http://holliday.clanservers.com
Re: help with an ultimate
« Reply #18 on: March 13, 2009, 10:44:55 AM »
conditional?  what dosent work?

Offline GODSWIND

  • Level 1 Trained Beginner
  • *
  • Posts: 22
Re: help with an ultimate
« Reply #19 on: March 13, 2009, 01:02:13 PM »
thanks for your help, now its work perfect.

i need the last help, i was seeing for an effect to be put for kamehameha and the more similar is the rocket effect of the blackguard, but in the code is about 200 effect.
ould you say me and effect to the kamehameha?