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

War3:Source
January 24, 2013, 09:05:29 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: invisilvl (like maxhp and speed)  (Read 88 times)
Remy Lebeau
Full Member
***
Posts: 172


View Profile
« on: November 17, 2012, 12:00:55 AM »

Hi all,

I want to modify the mod so that people can check their invis level.  Since this involves changing the engine files (which I haven't been brave enough to do), I thought I'd check with you that what I'm doing is ok.

All I've done is added the following:

Code:
else if(CommandCheck(arg1,"invis"))
{
new invislvl = W3GetBuffMinFloat(client,fInvisibilitySkill);
War3_ChatMessage(client,"%T","Your invis percentage is: {amount}",client,invislvl);
}

To the file engine_commandhook, just after the else if for the maxhp command (line 207).

Do you think that will do the job?  

Edit: when compiling I get a tag mismatch error :S
« Last Edit: November 17, 2012, 12:08:21 AM by Remy Lebeau » Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2169



View Profile WWW
« Reply #1 on: November 17, 2012, 02:32:18 AM »

is this how the buff engine sets the actual player invis?

does ur translations work correctly?

new Float:invislvl =
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!