How to make advanced scripts - thought process framework with example menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Mushkela's Avatar Member
    Reputation
    2
    Join Date
    Dec 2024
    Posts
    9
    Thanks G/R
    5/1
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by neoikkokx View Post
    Having a hard time figuring out syntax beyond basic examples referenced in this thread.

    How can I track charges and time left on buffs?

    Examples:
    Code:
    BuffTimeLeft("charged_staff_stack_B385") <= 5
    Code:
    PlayerBuffs.Has("power_charge", atLeast=5)
    Is there a thorough documentation somewhere?

    Thanks!
    I also tried
    Code:
    PlayerBuffs.Has("charged_staff_stack_B385").TimeLeft
    but that doesn't work either. Were you able to find anything yet?

    Also, I see people say use F10 to get a dump of all effects, buffs, etc. After I press F10 nothing happens. Any idea how that's supposed to work?

    How to make advanced scripts - thought process framework with example
  2. #17
    oops6025's Avatar Member
    Reputation
    3
    Join Date
    Apr 2024
    Posts
    3
    Thanks G/R
    9/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use it this way.

    First condition checks if player has power charge(s)
    Code:
    PlayerBuffs.Has("power_charge")
    The second condition checks if the charged staff stack is lower than 5 or if it has 7 seconds or less left.
    Code:
    PlayerBuffs["charged_staff_stack_B385"].Charges < 5 || PlayerBuffs.Has("power_charge") && PlayerBuffs["charged_staff_stack_B385"].TimeLeft <= 7
    This will press the key you have set if both conditions are true.

    If you'd like to use it on at least 5 power charges you have to change power charge condition like this.

    Code:
    PlayerBuffs["power_charge"].Charges >= 5
    You can set your own conditions easily by using "Add New Condition" button and to find what to type there you can check
    Code:
    Core -> Misc Tools -> Data Visualization (DV) -> States -> InGameStateObject -> CurrentAreaInstance -> Player -> Components -> Buffs -> Status Effect
    this will open a window to see status effects in real time.

    When you first open this window you may not see "power_charge" or "charged_staff_stack_B385" there because you don't have those active yet. So you have to use them first then check the window. And if you unfold one you can just click on "Name: ...." and it'll copy the name of skill or effect so you can paste it on trigger page.

  3. Thanks Mushkela, EthEth (2 members gave Thanks to oops6025 for this useful post)
  4. #18
    EthEth's Avatar Active Member
    Reputation
    67
    Join Date
    Aug 2016
    Posts
    109
    Thanks G/R
    70/54
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This league I'm using ExileAPI (https://www.ownedcore.com/forums/mmo...mework-98.html (ExileApi 3.23 and beyond - Plugin framework)) - when I get time I will update post with examples for ReAgent. It looks awesome, but I need to take some time to understand it better. As a plus: the UI is far better .

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 27
    Last Post: 08-18-2012, 08:34 AM
  2. [Leet Guide] How to Make and script your own custom instance
    By mager1794 in forum WoW EMU Guides & Tutorials
    Replies: 33
    Last Post: 07-05-2008, 06:43 PM
  3. How-to Make Your Own Basic AntiAFK Bot With AutoIt
    By Toxik the Spammer in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 05-23-2008, 12:39 PM
  4. How to make custom items for your server! WITH PICS! [Noob friendly]
    By ',-Jurkey-,' in forum WoW EMU Guides & Tutorials
    Replies: 7
    Last Post: 03-29-2008, 09:54 AM
  5. How to make lua scripted portals
    By *Alexz* in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 02-18-2008, 06:05 PM
All times are GMT -5. The time now is 04:33 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search