Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-09-22 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
September 21, 2012, 10:25:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Ability and ultimate command!  (Read 336 times)
Chuck
Jr. Member
**
Posts: 98


View Profile Email
« on: March 12, 2012, 03:09:40 PM »

Hey Ownz, for next release make the ability and ultimate better command like bind f ultimate and bind f ability without using +! That way i won't have to revise it for next update! That way people won't complain that bind doesn't work because they think wcs and war3 are same bind
Logged
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 402


⠠⠵


View Profile
« Reply #1 on: March 12, 2012, 03:20:40 PM »

The + makes it so that when you press the key it fires +ultimate and when you release it it fires -ultimate. This is passed on to OnUltimate and OnAbility as pressed parameter and is necessary for more complex ultimates/abilitys that require pressing the key for several seconds (eg teleport where you can charge the range by holding down)
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #2 on: March 12, 2012, 11:23:23 PM »

   RegConsoleCmd("ability",War3Source_OldWCSCommand);
      RegConsoleCmd("ability1",War3Source_OldWCSCommand);
      RegConsoleCmd("ability2",War3Source_OldWCSCommand);
      RegConsoleCmd("ability3",War3Source_OldWCSCommand);
      RegConsoleCmd("ability4",War3Source_OldWCSCommand);
      RegConsoleCmd("ultimate",War3Source_OldWCSCommand);
Logged

DarkEnergy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!