How to??? [Help] menu

Shout-Out

User Tag List

Results 1 to 7 of 7
  1. #1
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to??? [Help]

    Hello i need help, for an item script what is the cade for something to need some type of damage to allow a function to happen like lets say you need 100 damage to do something, what would the code me for that in C++?+Rep Thanks everyone!!

    How to??? [Help]
  2. #2
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you could try something like
    if(plr->GetUInt32Value(UNIT_FIELD_HEALTH) <= (plr->GetUInt32Value(UNIT_FIELD_MAXHEALTH) - 100)


  3. #3
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey double lol, uhh but why health??? since shouldnt it be damage, or is this that it tells you how much health you killed?

  4. #4
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no what its doing is checking if players lost over 100 hp


  5. #5
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, lol wow thats good then yea, so that would work , heh so you still mind helping me with that script lol?

  6. #6
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol if you set up the basic script, ill fix it up, im busy atm though


  7. #7
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol i ahve no idea how to start an item script, because i started the one and i was building up on that one that i sent you before...... so i have no clue on how to put it in an item like u said.......

Similar Threads

  1. please help me on how to remove beard
    By adtech21 in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-20-2007, 06:09 AM
  2. + rep 4 some1 how helps me with ce prob
    By kirby12 in forum World of Warcraft General
    Replies: 2
    Last Post: 06-01-2007, 06:04 PM
  3. How to help remove lag
    By Century in forum World of Warcraft Guides
    Replies: 9
    Last Post: 04-08-2007, 06:59 PM
  4. Plz help: How to change character list layout?????/
    By srpskagarda in forum World of Warcraft General
    Replies: 3
    Last Post: 03-08-2007, 07:09 PM
  5. Replies: 4
    Last Post: 09-18-2006, 06:38 PM
All times are GMT -5. The time now is 04:50 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search