• 0

    posted a message on Worker count trigger?
    Quote from qmax2250 >>

    For some reason I get this error message whenever a worker enters the game: TextError: Text [Workers:12] is too tall for a single line. Exceeds by [3]

    You created dialog. Next you created item in dialog, where you show your text: "Workers + Convert Integer to Text".

    My guess is that this message does not fit in length in the item. Try increasing the length of item.

     Thank you for your reply, that is very kind of you. The strange thing is - I can't find any lenght of the item.. maybe I am blind?? O_o I upload images of the trigger here

    Posted in: Triggers
  • 0

    posted a message on How to share cooldown on two abilities between two units?

    Hello,

     

    unit A has an ability, unit B has another ability. When one of the units use their ability, I want the cooldown to be activated on the other ability.

     

    So as soon as one unit uses its ability, the cooldown is activated on the other one.

     

    Any idea how to make this?

    Posted in: Data
  • 0

    posted a message on How to teleport cargo inside a transport to target location?

    Hello,

     

    Is it possible to make a transport, say a Medivac, teleport all its loaded units to target location?

     

    I can't find a way to solve this in the data editor or in the trigger editor T_T

     

    Posted in: Triggers
  • 0

    posted a message on How to hide upgrades in the observer upgrade tab?

    Hello,

     

    I have a lot of dummy upgrades that I use in triggers. In-game, when observers look at the upgrade tab they see all the dummy upgrades.

     

    Is it possible to hide them? I cannot figure out how >.<

     

     

    Posted in: Triggers
  • 0.964540883831702

    posted a message on How to display charges on the status bar above units?

    Hello,

     

    in any unit actor, there is a field called "Status Bar Flags" and there you can click on "Charges". This enables the unit to display charges from an ability. (For example if you have 3 spider mines in your ability, then 3 blocks would show above the unit.) But the charges never appear in game at the status bar. Any idea how to activate it?

    Posted in: Data
  • 0

    posted a message on Actor can not be created !!!

    I don't understand what you mean, can you explain more in detail? Does this happen in every game and always after about an hour?

    Posted in: Data
  • 0

    posted a message on Worker count trigger?

    Bump. Any ideas what might cause this error message? See the attached image in the opening post.

    Posted in: Triggers
  • 0

    posted a message on How to teleport a unit to its home base?

    Tip for anyone finding this thread in the future - if your teleported unit gets stuck "inside" a building that it is teleported to, you can make your ability give it the unit a Wander behaviour and then remove if after 1 second. This makes your teleported unit go into a random direction, thus moving away from your building and not being stuck anymore.

    Posted in: Triggers
  • 0

    posted a message on How to display a bond between two units if you select one of them?

    I have a unit in my map that can summon a pet. If I have ten of these units and each of them summon a pet, it is hard to know which pet is summoned by which unit.

     

    I am trying to make so if you select a pet, some kind of marker or indicator appears on the unit that summoned it. But I find no way of doing this with actors. >.<

     

    Any ideas how this can be done? Or any other ideas how to visually display a bond between two units?

    Posted in: Data
  • 0

    posted a message on How to make a structure that regenerates resources and enhances production speed around it

    One way to make structures buff the production speed of nearby structures is to do the following:

     

    Create a buff. Add a search effect to it that searches for nearby structures every 1 second. The search effect adds another buff to nearby structures. That buff lasts 1 second. Go into that buff and click on Modifications -> Behavior -> Rate multiplier array. There you can use the field "Progress" to increase production. Alternatively go into Modifications -> Unit -> Time scale and change that field. That increases all time speeds of the structure.

    Regarding generating resources, create an effect of the type "Modify player". There is a field called Resources that gives resources to the player.

     

    Hope this helps.

     

    Posted in: Data
  • 0

    posted a message on How to teleport a unit to its home base?

    In reply to RaptorKirad:

     THANK YOU!!! The trigger works!! Ahhh I am so glad that it works..

    I agree with you - this should be doable in the data editor and I have built the entire spell. But for some reason that I cannot understand, units are not teleported to their corresponding town hall and I don't know why T_T ... but your trigger fixes that!

    May I bother you with two additional short questions? (I promise, then I will be quiet)

    1) How do I make the Event in the trigger check for an effect or a behavior? My ability adds a buff or an effect to the targeted unit, then it becomes teleported by the trigger. I find no good Event for that :O
    2) Now units are teleported "inside" the town hall model and it looks odd. Is it possible to teleport it next to the structure? In the data editor there is a field "Placement range" that places teleported units near a structure. I check in the trigger fields for "Points" and I find X,Y,Z offsets, but the town halls migh be on different locations on different maps.. Hmm

    Posted in: Triggers
  • 0

    posted a message on How to teleport a unit to its home base?

    In reply to RaptorKirad:

     Thanks, I experimented with source now, I can't get it to match the corresponding unit to the player's town hall : (

    Posted in: Triggers
  • 0

    posted a message on How to teleport a unit to its home base?

    In reply to RaptorKirad:

     Thank you, the problem is that when I use "Player" the teleport effect always teleports all units to my town hall since I am the "player", it never teleports the corresponding unit to its owner's town hall. That is the problem I have - how to teleport every unit to its corresponding town hall? (Player 1 units to player 1's town hall, player 2 units to player 2's town hall, and so on)

    Posted in: Triggers
  • 0

    posted a message on How to teleport a unit to its home base?

     I am resuming this project and I have the same issue - units are teleported to the nearest town hall, never to their own town hall :(

    I want player 2 units to be teleported to player 2's town hall, player 3 units to be teleported to player 3's town hall, and so on.

     

    Any ideas how to make this in the data or trigger editor?

    Posted in: Triggers
  • 0

    posted a message on How to change warp in speed when a Pylon is close to a Warp Gate?

    Protss units are warped in faster if they are being warped in close to the Nexus or to a Warp Gate. The Pylon power field becomes green, as you can see on this image: https://liquipedia.net/starcraft2/File:Pylons_LotV.jpg

     

    I don't find the fields in the editor that determines this. Any ideas where to look?

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