Jesus4Lyf
Reaction score
397

Profile posts Latest activity Postings About

  • >>I've been trial and erroring, slowly building up enough information to start writing systems in SC2.

    NO. I AM PROTESTING. NO NO NO. Make systems only if you promise to make fancy spells and stuffz like that ;D
    hmm... i just had an idea..

    like buffstruct which has a dummy ability, and a 'real' buff...

    what if i make itemstruct create 2 items too?
    a tome one (for all that question on buying with full inv) and a real one with effects..

    sounds good, right?
    i fixed what was wrong.. check the new code i released.

    the code outline was messed up, so it wasnt saving the .create properly.
    private function interface Allocator takes item whichItem returns integer

    call SetItemUserData(GetSoldItem(),Allocator(LoadInteger(HASH,GetItemTypeId(GetSoldItem()),0)).evaluate(GetSoldItem()))

    ^how does Allocator work here?
    call SaveInteger(HASH,whichType,0,thistype.create)

    why doesnt .create take any arguments here?
    oh, typecasting. i get it now (well, yeah i've viewing the JassHelper manual).

    next..

    private constant key ALLOCATOR
    ^ basically that's just a constant number right? so can i replace it with 0?

    i know some hashtable systems that only require 1 key so the other one is just zero..
    is that applicable too?

    CSData has this:
    function SetCSData takes handle h, integer v returns nothing
    call SaveInteger(ht , 0, GetHandleId(h) , v)
    endfunction
    MyInterface(GetItemUserData(item)).onDrop()

    ^ why does MyInterface take arguments... what happens?
    so you didnt actually finish ItemStruct?

    i have trouble on the dropping code too.
    it seems that's where you stopped.
    hey, do i need to reopen oly the map or reopen NewGen too for the object data to be written?
    umm... update your post on Damage system pls.

    the attachment is only 1.0.1

    while the code in the post is 1.0.4
    T32_FPS seems to be returning 31 for me. Might want to look into it.

    Edit:

    How many struct members do you think is too much for a projectile system? Keeping in mind that it does do a fair bit of the work for you and has numerous interface events, as well as homing and arced missiles as options.
    Fair enough.

    Didn't realise that the triggers were just destroyed anyway when I sent the other visitor message. Guess just using dynamic triggers + hashtables will do then.
    Is your Dynamic Trigger Support a lost cause? Or may you eventually get around to doing something with it?
    And I also certainly use yours as well!

    Only: T32, DummyCaster, KT2 (Although T32 has replaced it for high frequency spells ;D), and Damage.
    how do i make a trigger spell/aura so that when the spell is active the terrain below the caster will change to ice but will go away as they walk, Like the terrain will only be below the caster and will change back once the caster moves.
  • Loading…
  • Loading…
  • Loading…
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top