• 0

    posted a message on Need something created for you?

    I'm having trouble figuring out how to retain the unit's percentage health when morphing. Right now they all heal to full.

    Thanks so much

    Posted in: Triggers
  • 0

    posted a message on Sensor Tower Range indicator change

    @EasyOOP: Go

    I did exactly that and the circle isn't getting any bigger.

    EDIT: I figured it out. I had to edit the radar actor and change it's range in the field.

    Posted in: Data
  • 0

    posted a message on Making a custom ability and dont know how?

    @Titanisdrb: Go

    How would I give an Infestor an active ability to steal 15 health from a target over 3 seconds?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Sensor Tower Range indicator change

    How do I change the size of the big circle shown to enemy players? it's range is about 27 weapon range units but I want to increase it.

    Posted in: Data
  • 0

    posted a message on Need something created for you?

    @deathtorn: Go

    Thanks, it's working now :D

    Posted in: Triggers
  • 0

    posted a message on Need something created for you?

    Thank you! That works!

    I have another question.

    I have a drakken laser drill which I want to automatically fire upon any air unit that comes within 50 or so range of it (that is assuming weapon range units are equal to sight radius units). My problem is that the AI doesn't attack it until the unit is in its own sight range, which is at maximum 32.

    I tried starting an AI for player 15, then issuing the attack order on any unit that enters the region, but it's not working, even with a bunker spotting for it.

    I'd really like for this to work, otherwise i'll have to replace the drill with 20 missile turrets to cover the area

    Posted in: Triggers
  • 0

    posted a message on Need something created for you?
    Quote from deathtorn: Go

    @Coexistence: Go

    You can actually handle all of that with triggers rather than data, a number of different ways. Would you like me to create an example?

    I would love an example. The Trigger window has me quite lost.

    Posted in: Triggers
  • 0

    posted a message on Need something created for you?
    Quote from Kueken531: Go

    What about using a requirement, similar to the Mothership, instead of charges?

    a map-wide search area effect, searching for the turret using validators and executing a lethal effect on it, or a trigger, which triggers when casting the spell and picks all turrets of that player and kills them.

    I tried altering the mothership requirement by replacing the mothership alias with changeling, and attached the requirement to the ability command, but it doesnt seem to be preventing it. might it have to do with my trigger disabling tech requirements?

    Posted in: Triggers
  • 0

    posted a message on Need something created for you?

    Hi, I have a couple questions.

    1: I have an RPG map starring a changeling and I want to use an Overseer - Spawn Changeling ability as the respawn. I gave Spawn Changeling a charge counter (start with 1, max 1). How do I give the Overseer a Spawn Changeling charge when any hero belonging to the player dies?

    2: One of my heroes has the Raven - Place Auto-Turret ability, but I want to limit it to one active at a time. How do I destroy the old turret when a new on is placed?

    Posted in: Triggers
  • 0

    posted a message on Gain ability counter upon unit death - how?

    What I want to make happen is if player 1's overseer is the only unit player 1 has, add a counter to Overseer - Spawn Changeling ability. I haven't managed to do this on my own. Does anyone know a way?

    EDIT: i figured out a way to do this, though with energy, not charges.

    Posted in: Triggers
  • 0

    posted a message on Shapeshift Spell - Need Help
    Quote from silvermage: Go

    @kmerc101: Go

    You know it would probably just be easier to copy the gateway transform ability, it does exactly what you need it to do.

    I'm trying to do a similar thing, and the simplest way I found was to give the units the larva morph ability. My problem is, I don't know how to morph into protoss or terran units, the unit heals to full on each morph, and the unit doesn't retain experience through morphs.

    I tried copying the gateway transform, but I end up with an invisible unit. How do I get my changeling to transform into a Hydralisk using this method?

    Posted in: Data
  • 0

    posted a message on Third Person Shooter (TPS) engine - Download if you need one

    @Droganis: Go

    Quote from Droganis: Go

    @Coexistence

    The Trigger you want to change is the Set Enemy Unit Height, how its setup you have to create a if then for every enemy unit on the map but adding a or statement in the if can let you add units that you would think has the same height, here is how i set my height trigger

    Set Enemy Unit Height
        Events
        Local Variables
        Conditions
        Actions
            ------- Set custom height values to each enemy unit used on the map, since the triggers can't gather this information by themselves
            Unit Group - Pick each unit in (Units in (Entire map) having alliance Enemy with player 1 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                Actions
                    -------       0.5 Set
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            Or
                                Conditions
                                    (Unit type of (Picked unit)) == Zergling
                                    (Unit type of (Picked unit)) == Zergling (Burrowed)
                        Then
                            Unit - Set (Picked unit) custom value 0 to 0.5
                        Else
                    -------       0.7 Set
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Unit type of (Picked unit)) == Baneling
                        Then
                            Unit - Set (Picked unit) custom value 0 to 0.7
                        Else
                    -------       1.0 Set
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            Or
                                Conditions
                                    (Unit type of (Picked unit)) == Marine
                                    (Unit type of (Picked unit)) == Infested Terran (From Terran Infestation Rupture)
                                    (Unit type of (Picked unit)) == Auto-Turret
                        Then
                            Unit - Set (Picked unit) custom value 0 to 1.0
                        Else
                    -------       1.5 Set
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Unit type of (Picked unit)) == Hydralisk
                        Then
                            Unit - Set (Picked unit) custom value 0 to 1.5
                        Else
                    -------       6.2 Set
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Unit type of (Picked unit)) == Ultralisk
                        Then
                            Unit - Set (Picked unit) custom value 0 to 6.2
                        Else
                    -------       10.0 Set
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Unit type of (Picked unit)) == Overlord
                        Then
                            Unit - Set (Picked unit) custom value 0 to 10.0
                        Else
    

    Okay I think I got the first part (the very first part), but the rest is greek to me. I have no idea how to make an if-then statement.

    Posted in: Triggers
  • 0

    posted a message on Third Person Shooter (TPS) engine - Download if you need one

    Hey great engine, I'm loving it so far. I just have a question about step 10 in your instructions. What exactly do I change?

    My shots are not doing damage and I'm assuming step 10 is why.

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