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 havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    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.

Unit and dummy question

Discussion in 'Triggers & Scripts' started by Pike, Feb 7, 2006.

  1. Pike

    Pike

    Joined:
    May 13, 2004
    Messages:
    126
    Resources:
    1
    Models:
    1
    Resources:
    1
    I would like to know if it's possible to make a trigger/jass function with a dummy unit placed over the caster and the dummy is able to shoot and the caster move at the same time? Caster wouldn't have any attack by that time. Dummy unit is ranged and rotates to face the enemy and attacks, no instant turns. Also the dummy will face the same way as the caster if there are no enemies in range.
     
  2. Jacek

    Jacek

    Joined:
    Nov 25, 2004
    Messages:
    1,291
    Resources:
    0
    Resources:
    0
    move it instantly in 0.01 periodic trigger
     
  3. Pike

    Pike

    Joined:
    May 13, 2004
    Messages:
    126
    Resources:
    1
    Models:
    1
    Resources:
    1
    What about the rotation and attack? Trigger based attack or normal unit properties?
     
  4. Jacek

    Jacek

    Joined:
    Nov 25, 2004
    Messages:
    1,291
    Resources:
    0
    Resources:
    0
    Well... your tank will move :D, turret will follow. Move instant doesn't change facing so the turret will shoot without problems. You can set its target to tank's target. I have no idea how to make it return back to its location. Maybe trigger so if it doesn't shoot for 5 seconds, return to tank's facing.