• 0

    posted a message on Setting portrait model

    I'm trying create custom UI but have a problem. I need to set the model of shown portrait to selected ( or at least variable ) unit. And i dont get why there is no functions for File-model type of variable so i can do something with it. Please help.

    Update: Just found similiar thread and solution, nvm.

    Posted in: Triggers
  • 0

    posted a message on (Solved) Text Display For Individual Unit Armor.

    Man i am not a pro with triggers, but u certainly can use variable in the name of armor by using function like convert real to string, so if you have variable for damage reduction it should be displaying there.

    Posted in: Data
  • 0

    posted a message on (Solved) Text Display For Individual Unit Armor.

    This stuff related to triggers not data. Download the map from this thread and learn triggers in it: http://www.sc2mapster.com/forums/resources/tutorials/9853-triggers-data-warcraft-3-armor-system/ .This is exactly what you are looking for.

    Posted in: Data
  • 0

    posted a message on Changing Model Lighting

    Hi. Need help with following. Some models such as hybrid slime aoe and fungal swarm has built-in lighting. Is there any trick to remove it or at least change color of that lighting. For example i have ability that using hybrid slime aoe model with set tint color to red, but when this model appears it creates a flash of green light wich is looking weird.

    Posted in: Data
  • 0

    posted a message on Advanced help needed

    Hey just finished with my ability, it rly can be done with data( at least half of it, not the circling units). Now remains just one undesired thing im trying to fix: i have one effect which can be used by trigger from 1 to 4 times simultaneously, and when it just 1 it looks okay, but when all 4 my actors launching 4 times same assets and it's not wat i want at all how to fix this? :)

    Posted in: Triggers
  • 0

    posted a message on Advanced help needed

    Thanks for a quick responses guys. When i was writing my first post i havnt decided yet how my ability will works for sure. Okay now i have such idea: my hero has 4 insects flying around, and radius is constantly changing( orbit of this flying units changing from 0.5 to 2 smoothly). When radius is 0.5 (insects returning to caster) my hero gets healed, i did this stuff with triggers.

    Okay what i want now: when my insects starting to increase radius they will deal damage to units they are passing through only once (steal a blood from target), the unit they passed gets 20 damage. after that, when radius starts to decrease and will == 0.5 my hero will be healed by ammount of stolen blood. ( if insect didnt pass through units there wont be any heal effect) okay so now im trying to figure out of how that can be done. If it can be done through data can u give me suggestions?

    Posted in: Triggers
  • 0

    posted a message on Advanced help needed

    Hi guys. Don't know for sure how advanced my question is but its pretty complicated for me. How to operate with damage dealing by unit and damage dealing to unit? I'm pretty sure that i need to use custom galaxy script for this, cuz built in function doesnt allow me to manipulate damage through math operations. For example what im trying to do now:

    My hero has a D-buff which dealing 10 damage in radius of 2 every 1 second. I want my hero get a heal (modify unit effect) every 5 seconds, depending on how many overall damage done to units with D-buff during this 5 seconds. for example, there is 1 unit in area of effect(near hero) it received 10x5 = 50 overall damage, my hero healed on 30% of this ammount (50x0.3 = 15 hp). If there were more than one unit, three units for example, the ammount of heal will be 50x3=150(total damage) 150x0.3=45hp heal.

    Any suggestions or better to forget this idea :D ?

    Posted in: Triggers
  • 0

    posted a message on Help with conditions

    Hey again have a quick and simple question so dont want to create another thread here. I have 8 variables with type of units. So is there any option to destroy them all with one action cuz making one action for each unit seems to be annoying.Thanks.

    Posted in: Triggers
  • 0

    posted a message on Help with conditions

    the x_increasing variable actually does matter because otherwise script will working wrong. look, if x<4 it starts adding x+0.1 every period count, when it reaches 4 it will perform x-0.1 just once, cuz in next period it will check if x<4 again ( and it Will be <4, 3.99 for example) and start to add 0.1 again, so we wont see any difference by eyes.

    to LosTacos: i have syntax error in first line(global variables) could u be more specific i had no experience yet with custom scripts.

    Update: i just made this stuff using built-in stuff and this boolean variable x_increasing

    Posted in: Triggers
  • 0

    posted a message on Help with conditions

    Hey guys, probably a noob question, but i still cant find a solution.

    I have variable, and i want it start to increase (x+0.1) when x=1, then when x=4, for example, start to decrease (x-0.1) all this stuff performing every 0.0625 secs. Can someone suggest a structure of trigger?

    Posted in: Triggers
  • 0

    posted a message on Attack animation with trigger

    U said i can do it with data so explain me how do i detect this 20% chance effect before the hit will happens? i need my hero play animation when the critical strike starts to perform. I didnt find any event in unit's actor to make such stuff. If you know how it can be done explain please.

    Posted in: Triggers
  • 0

    posted a message on Canceling Ability

    Movement update doesnt help at all just tried it. I didnt noticed any lag from trigger, i had much more significant lag when abil used lots of models

    Posted in: Data
  • 0

    posted a message on Canceling Ability

    thanks man but i already fix this by using very simple trigger, it just clear this animation when my hero gets any order. Thats work perfectly.

    Posted in: Data
  • 0

    posted a message on Vortex unit distortion

    I didn't change anything exept model and units now just getting sucked in center and remains there

    Posted in: Data
  • 0

    posted a message on Vortex unit distortion

    When i am using another model for mothership vortex ability it doesnt make units disappears. Can i use such visual with other models?

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