AGD
Reaction score
96

Profile posts Latest activity Postings Experience Media Albums Resources About

  • Thanks for showing your appreciation

    The name of the fictional author of the article, Erik Van Datiken, is obviously a reference to Erich von Däniken
    AGD
    AGD
    So this guy must be who inspired modern ancient astranaut theories? now I know
    An evidence for absence is not required for us not to believe. Absence of evidence should suffice.
    Reputation (+4):
    (Post) +https://www.hiveworkshop.com/threads/new-scripting-and-map-making-features-after-1-26.330955/#post-3472770
    If you agree I would ask to add you as author to LineSegmentEnumeration, so at least there could come improvements (since I probably won't do updates for my systems/spells...)
    AGD
    AGD
    @IcemanBo, Sure, I'm okay with that. Good timing too, I'm preparing a Lua version.
    IcemanBo
    IcemanBo
    It should work
    Things are temporary. Be happy when you gain something but frown not when you inevitably lose something. :D
    There's almost no problem that can't be solved with a sufficient level of abstraction.
    Power107
    Power107
    I agree. But I think decomposition is also important for solving problems.
    AGD
    AGD
    I finished the MergeSort. I only managed to populate 4500 elemnts before hitting OP limit and the maximum it managed to sort was somewhere inbetween 4000 - 4500 as well.
    AGD
    AGD
    Can you show me the code?
    P
    Pinzu
    Im gonna do an update that doesn't use any method callls (other than the operators), but you can find it in the lab post.
    Happy Birthday you fucking great JASS-er! I'm really amazed by the TorrentArray template! :D
    AGD
    AGD
    Thanks man. I'm glad you liked it :)
    Hello man I've got an other question. I've done a BlackHole spell, in this first spell a struct "Spell" checks the enemies in the area and generate other structs called Buffs, in the attributes of each Buff struct there is the Spell struct.

    If the caster dies or stops casting the spells or the duration ends the struct Spell is destroyed.

    The question is in my structs Buff how can I check the state of my Spell struct to know when I need to unlock my targets? How to check if a Struct have been "deallocate()"
    AGD
    AGD
    You can set it up so that when a spell is cast, the buffs are created and added to the list of buffs for that specific spell instance. So that when you call deallocate in you spell's destroy method, you can just iterate all the buffs in the list and destroy them all along with the spell and unlock the units. By doing this, you no longer need to check periodically when the spell is active.
    thank you for your help man
    I will test
    AGD
    AGD
    No problem =)
    Dark-Zalor
    Dark-Zalor
    I'm new at vjass scripting
    is it well programmed or you see some improvements

    Do you know good tutorials to use libraries, because I only use scope for my spells. And I want to create custom systems like FloatingText system, or damageDetection or else on my map
    AGD
    AGD
    I think you should read the jasshelper manual. It explains the use of libraries pretty well. It also explains the other remaining features of vjass so I think it's suitable for you.
    Very nice to see you around again. ; )
    AGD
    AGD
    Thanks, I'm grateful I got some of my free time back too =)
    Hi , AGD! Can I ask you some questions? I can see most spell makers in HW use TriggerAddCondition() instead of TriggerAddAction() in their codes. Is there any kind of purpose here? And why does the Condition function always return FALSE in the end? I appreciate your help.
    F
    FreedomEra
    Thank you, my friend! I have been learning Jass for over 2 months now and still find myself in the middle of nowhere. Do you have any tips for learning Jass?
    AGD
    AGD
    I don't know what's your current 'level' in working with jass so I'll just assume that I'm talking to a beginner (If you don't mind).

    Firstly, I recommend you to download WEX or JNGP because of their useful tools even for beginners (like syntax highlighter and premade jass functions list for example).

    Then, from my experience, it is better to read some basic tutorials like how a GUI triggers looks like behind the scenes (when it's converted to jass), then when you get understand the general format and syntax, try to look for some sample spells or just any sample codes that can usually be found at the end of some tutorials because those examples are meant for starters. Try to tweak some parts of the code then see how it affects the output in-game.
    AGD
    AGD
    To be able to write your own code in jass, you need to understand what are these:
    - 'triggers' (In Jass, because they're known differently in the context of GUI)
    - What is needed for a trigger to work - i.e., triggerevents, triggerconditions, and triggeractions
    - Initialization functions
    - Initialization triggers
    - jass syntax (obviously)
    - jass objects (including how to create and work with them)
    - custom jass functions (how to make one)

    I suggest you follow the list in order, good luck!
    It is a lot easier to filter out what is 'not true' than to determine what is 'true'.
    Flux
    Flux
    Like in multiple choice exams.
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top