• 0

    posted a message on [Sloved] Cant run Native function, error
    TriggerAddEventUnitProperty(gt_StatusUpsH, gv_playersInfo[PlayerGroupLoopCurrent()].lv_unit, c_unitPropLife);
    

    gives
    Parameter type does not match the function definition

    native void     TriggerAddEventUnitProperty (trigger t, unitref u, int prop);
    

    gt_StatusUpsH - Trigger
    gv_playersInfo[PlayerGroupLoopCurrent()].lv_unit - Unit (empty at the time but i hope it can work as link)
    c_unitPropLife - Int from preset (Tried 0 without preset which represent same)

    I even made custom action with all parameters set according to this and it still gives error....

    EDIT: Ok i fixed this... had to backtrack manual adding.

     UnitRefFromVariable("gv_playersInfo[" + IntToString(PlayerGroupLoopCurrent()) + "].lv_unit") 
    


    this was correct way to refer unit (weird)

    Posted in: Galaxy Scripting
  • 0

    posted a message on condition - unit is moving?

    epic, works perfectly and saves me some dirty trigger work. thanks!

    Posted in: Triggers
  • 0

    posted a message on condition - unit is moving?

    Im looking for way to tell if unit is moving at the moment
    what i mean if its in movement even if its from attack command or anything smillar (patrol, casting something at point which require unit to move to it etc)

    Posted in: Triggers
  • 0

    posted a message on ...Websites packing our maps?!

    All over the world there are copied movies music games software anything everything and you think someone care about "starcraft 2 maps" ? Maybe not so heavy but that is simple "piracy"

    Posted in: General Chat
  • 0

    posted a message on The last Stand V2 release soon + beta tester needed

    i hope it wont be so slowish like current version :/ start by reducing time between waves

    Posted in: Map Feedback
  • 0

    posted a message on Epidemic ORPG

    Looks epic! I say we really need some good RPG on Bnet, there is only 1 i saw so far (ZH's) but its getting boring after while (no offense).

    I hope this one will be good :)

    (for multimap thing, you could use something like separate map for levels X-Y which will only allow save files with required level reached, just suggestion)

    Posted in: Project Workplace
  • 0

    posted a message on A lot of weird stuff happening :)

    fixed bug with items

    Posted in: Data
  • 0

    posted a message on Simple problem - scaled damage output

    Which is weird because tooltip says its damage based on enemy hp...

    Posted in: Miscellaneous Development
  • 0

    posted a message on What are Data Sources for?

    If you click file -> dependencies, than click "add standard" and highlight any of them you will see what they are for

    Posted in: Data
  • 0

    posted a message on Ability depends on attributes question

    @fReeGenerate: Go

    yes its possible. There is spell damage value in behavior unit modification which control anything thats "spell" kind.
    You can even create something like intelligence which will show in unit box along with unit's weapon and armor. How, i dont know at the moment but i saw it in "footman" map (i think that was the name)

    Posted in: Data
  • 0

    posted a message on A lot of weird stuff happening :)

    Hi

    So first, i have 3 items, 3 loots for each and 1 "loot set" with all of them inside (and 95% chance to drop nothing). Quite often when i kill a unit with my "loot set" it drops some weird items from campaign probably like grenades etc oO

    Second, when i cast ability on my hero unit a noticed theres floating purple text above my unit showing -X (ability cost)

    Third, i created some destructibles alone the path (quite dense placement) and i noticed they share health oO
    Why?
    Thanks for help !

    Posted in: Data
  • 0

    posted a message on Grenade like ability - Im stuck

    Got it thanks!

    Posted in: Data
  • 0

    posted a message on Grenade like ability - Im stuck

    Hello

    I will skip telling how frustrated i'm with this data editor and it's brilliant linking creation style which make me think of drawing portrait pixel by pixel with closed eyes.

    I created ability which works like grenade but with different models. At the moment my character is casting ability, missile is flying to the point, it deals damage once it reach destination.

    i have:

    -Effects: X(launch missile) & X(damage)
    -Actors: X (missile)
    -Unit: X(missile)
    -Ability: X

    I need : (and dont know how to do)

    -if possible some missile travel sound & sound when casting
    -explosion effect&sound at impact location
    -casting circle representing area of effect while selecting cast location
    -casting animation on unit

    Please help. Thanks

    Posted in: Data
  • 0

    posted a message on 1 Actor for few units?

    I dont know how exactly this event editor works but 03210's solution works great for now. I just hope it wont cause any troubles.
    Is it ok if i only have Events: UnitBirth.Unit>Create for each unit? Or should i add something with destroy? (they are items so they are removed on pickup in theory)

    Quote from RCIX: Go

    Why not? What if you want to change the model for one of them? Or the scale? Or the tint? Sure, you can do it with events, but the actor system wasn't really designed for one actor to be used for multiple separate entities.

    If i want to change the model for one of them i can create separate actor for it. Otherwise i prefer this way with a lot of items (100+), and "global" control over their actor/s

    Posted in: Data
  • 0

    posted a message on 1 Actor for few units?

    Hmm not bad, gonna try that now

    Posted in: Data
  • To post a comment, please or register a new account.