• 0

    posted a message on Just a small question

    Can units from different players and alliances be in the same global Unitgroup? I am using a trigger which activates when unit 1-10 from unitgroup xy moves there. and these 1-10 can be in different teams on different players. but should work right?

    Posted in: Triggers
  • 0

    posted a message on unit revive again :/

    Hi guys,

    i finally made it to revive a unit, works fine, but now i got the problem, that only 1 of 7 units can revive. i checked the triggers like 10 times, there are no mistakes. there is something going on i dont know.

    the dialog works fine, i can spawn each of the 7 units without problems. when a unit is spawned i put it in a global unit group.

    my revive trigger is simple, but works:

    any unit dies revive unit 1 from unit group

    Works fine for 1 auf the 7 units. I tryed it with 7 different global unit groups - not worked, tryed it with the same, not worked, tryed to switch buttonspots in the dialog to find out whats the problem. no changes at all, only worked for that 1 unit. checked data for revive time and so on... all the same. tryed it with diff. numbers in the unit group and so on. not worked...

    i really dont know whats wrong here. also had conditions in the trigger to check out...

    some bug in the dialog maybe, i dont know

    Posted in: Triggers
  • 0

    posted a message on Problem with Unit/Hero respawn.

    I cant find a custom code action. Looked all actions, not found it. There was a "custom script" but could not type in there. Can you please tell me exactly where i can find this custom code action? thanks! :)

    Posted in: Triggers
  • 0

    posted a message on Problem with Unit/Hero respawn.

    Noone? :o(

    Posted in: Triggers
  • 0

    posted a message on Problem with Unit/Hero respawn.

    Hi there,

    right now i am working on my spawn and respawnsystem. atm -> each player can select 1 of X units to play with. the dialogbuttons and so on worked fine. when a player choose a unit, i store it on a global unit group. (1 Unitgroup for each player)

    Now i want a respawn for this units in my base. It worked pretty easy with -> event: any unit dies - con: unit = unitgroup player1 - action: create 1 unit of unit typ of unit 1 from unitgroup player1.

    My Problem now is, i want the gained experiance and levels to stay on the unit. I am not sure, but i think i need to add this global unitgroup to a global unit. I did this in a global "unit" variable and linked it to the unit group, but not managed to get this "unit" variable in my action in the event.

    I really need help here, my english is way to bad to handle this. working on it like 2h. :/ please help

    Posted in: Triggers
  • 0

    posted a message on [Data] Creating a powerup item that activates when touched

    Ok it was just the "duration" ;)

    Other Question:

    Is there a way to play a sound when the powerup is picked up and is there a way to have a effect on the unit as long the powerup is up? (Like the unit glows for 20 sec, while buff is active)

    Posted in: Tutorials
  • 0

    posted a message on Unit from Database in Global Variable.

    Hi there,

    i am looking for a way to put a unit from the database in a global variable. I dont want to spawn the unit and than do that. i just want that the unit "zergling" got a global variable, so i can trigger a Event like... "Global variable: Zergling moves in center of region XY" Without that global each unit would trigger it. Normaly i would spawn the unit and put it to a global unit group. But now i just want 1 Unit from the Database to be avaible for triggers without spawning befor.

    Can someone help me out please?

    Posted in: Triggers
  • 0

    posted a message on Problem with global Unit Groups.

    Thanks, works out all fine now! :) Love this forum

    Posted in: Triggers
  • 0

    posted a message on Problem with global Unit Groups.

    Hi Guys,

    i want to create a trigger which respawns Units when they die. (1 Tank spawn on Map - he dies - wait 10 sec and respawn him) Thougt it will be pretty easy, but its the first time i am working with gobal unit groups.

    At the moment i am creating the units in a other triggers and gave the units i want to respawn a own global unit group. In the New Trigger i tryed:

    Event:

    Unit 1 from Unit Group(global) XY dies. (Also tryed with random unit from Unitgroup)

    Action:

    Wait 10 sec game time Create 1 Unit for Player XY at center of region.

    My problem now is, each time unit on the map dies, the trigger is triggered. Even when Enemy Zerg Critters die... i am not sure whats wrong about my trigger. Can someone help me please? I am not sure what is wrong with my global unit groups...

    Posted in: Triggers
  • 0

    posted a message on Powerup which adds +X Charges to abilitys.

    Wow thanks man, you really helped me out. :)

    Posted in: Triggers
  • 0

    posted a message on Powerup which adds +X Charges to abilitys.

    Noone? :o(

    Posted in: Triggers
  • 0

    posted a message on Question : How to add Ability Charges?

    I tryed it out, but it not seems to work.

    I tryed this

    Example: Player - Add -1.0 charges used for charge "NukeGrenades" for player 1

    But i got the problem here -> for charge "NukeGrenades" ... where nukegrenades is, i can pick only functions. That not helps me much. Someone got a idea?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Powerup which adds +X Charges to abilitys.

    Hi guys,

    i am still working on the Powerups for my map. So far i managed to add haste, invis, invul, damage pickup powerups. Now i need a powerup to add Charges to abilitys. A "Ammo" Powerup. I am not sure how to do this, trying around with triggers right now and searching the forum. Can someone help me maybe? Thanks!

    Posted in: Triggers
  • 0

    posted a message on Time limited behaviors

    Thanks, seems i was a little "overworked" ;)

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