Raised This Month: $ Target: $400
 0% 

Trying to Understand #define Macros values in War3TFT


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wEr3
Junior Member
Join Date: Jun 2017
Old 09-02-2022 , 12:50   Trying to Understand #define Macros values in War3TFT
Reply With Quote #1

I'm sorry for bother you , but what are these #define macro values , are there real values because there are not used in Race functions with like real values. For Example
PHP Code:
#define    TASK_LIGHTNING 960 

// Initial Ultimate call
public OR_ULT_ChainLightningiCasteriTargetiBodyPart )
{

    
// Display the lightning effect
    
OR_ULT_ChainEffectiCasteriTargetCHAINLIGHTNING_LINEWIDTHCHAINLIGHTNING_DAMAGEiBodyPart );
    

    
// Now we need to search for the next "jump"
    
new parm[5];
    
parm[0] = iTarget;
    
parm[1] = CHAINLIGHTNING_DAMAGE;
    
parm[2] = CHAINLIGHTNING_LINEWIDTH;
    
parm[3] = iCaster;
    
parm[4] = iBodyPart;

    
set_task0.2"_OR_ULT_ChainLightning"TASK_LIGHTNING iTargetparm); 
Could you explain the TASK_LIGHTNING which is #define value of 960 .
Attached Thumbnails
Click image for larger version

Name:	valuemacros.jpg
Views:	52
Size:	94.7 KB
ID:	196632  
wEr3 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode