1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Lead your forces to battle in the 15th Techtree Contest. The call is yours, commander!
    Dismiss Notice
  4. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  5. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

How can i make Dark Conversion(Ability) to spawn a non neutral zombie?

Discussion in 'World Editor Help Zone' started by Jealot, Aug 4, 2014.

  1. Jealot

    Jealot

    Joined:
    Jun 30, 2013
    Messages:
    24
    Resources:
    0
    Resources:
    0
    So,Mal'Ganis's ability Dark Conversion(fast) spawns a zombie from being cast on a villager unit.But,it spawns the unit as neutral instead of player controlled.How can i change this?
     
  2. shaMewalkeR

    shaMewalkeR

    Joined:
    Jul 16, 2014
    Messages:
    61
    Resources:
    0
    Resources:
    0
    I think the part about the villager turning into a neutral zombie is just how the ability works, and I don't think it can be changed in the Unit Editor.

    [TRIGGER=Dark Conversion]Dark Conversion
    Events
    Unit - A unit starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Dark Conversion (Malganis)
    Actions
    Unit - Change ownership of (Target unit of ability being cast) to (Owner of (Casting Unit)) and Change color[/TRIGGER]

    This trigger should do the trick however.
    Can probably be done in a smarter way, but I am not a wizard, lol :grin:
     
    Last edited: Aug 5, 2014
  3. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,813
    Resources:
    17
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    17
    It should be owner of Target Unit of ability being cast.
     
  4. shaMewalkeR

    shaMewalkeR

    Joined:
    Jul 16, 2014
    Messages:
    61
    Resources:
    0
    Resources:
    0
    Eh? So you want the trigger to be:

    • Dark Conversion
    • Events
    • Unit - A unit starts the effect of an ability
    • Conditions
    • (Ability being cast) Equal to Dark Conversion (Malganis)
    • Actions
    • Unit - Change ownership of (Owner of (Target unit of ability being cast)) to (Owner of (Casting Unit)) and Change color


    Because I don't actually think that is a viable option :grin:
    Or am I missing something?
     
  5. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,813
    Resources:
    17
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    17
    My bad xD
    • Unit - Change ownership of (Target unit of ability being cast) to Neutral Passive and Change color


    I confused it a little.
     
  6. shaMewalkeR

    shaMewalkeR

    Joined:
    Jul 16, 2014
    Messages:
    61
    Resources:
    0
    Resources:
    0
    Haha, happens. Was really tired myself, so was actually like "Am I totally wrong on this one or?" :grin: