• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
Zalashji
Reaction score
1

Profile posts Latest activity Postings Experience Resources About

  • Happy Birthday! (Happy Birthday!)



    <span style="font-size: 12px">Here is a cake.</span>

    . . . ., ., ., .,. . . . .
    . . .__|__|__|__|__ . . .
    . . .|~~::~~~~::~~| . . .
    . . .|~!!~~~~~~!!~| . . .
    . . .|<(><)><(><)>| . . .
    . . .|}{}{}{}{}{}{| . . .
    _________________________

    <span style="font-size: 12px">Here is your present.</span>

    . . . . . . .\ &&& /. . . . . . .
    . . . . . . ./<span style="font-size: 15px">*&*</span>\. . . . . . .
    |~~~~~|~~~~|~~~~~|
    |~'0~0'~|~~~~|~'0~0'~|
    |~'0~0'~|~~~~|~'0~0'~|
    |~~~~~|~~~~|~~~~~|
    |~~~~~|~~~~|~~~~~|
    |~'0~0'~|~~~~|~'0~0'~|
    |~'0~0'~|~~~~|~'0~0'~|
    |~~~~~|~~~~|~~~~~|
    I dont remember how I do this. It was 6-7 months ago. Maybe add this:

    Unit - Make smokerstarget face smoker over 0.00 seconds

    To pulling trigger
    yes, remeber to put smoker pulling initialy off. Now you need to make trigger to stop pulling: >Smoker< dies > turn off >smoker pulling<
    ok I made <smoker> as a unit variable too. I forgot to say this variable. Just set <smoker> unit whatever you want with tongue ability
    No, here is
    Events
    Time - Every 0.05 seconds of game time
    Actions
    Set point1 = (Position of smokerstarget)
    Set point2 = (point1 offset by (10.00) towards (Facing of smokerstarget) degrees)
    Unit - Move smokerstarget instantly to point2, facing (Position of smoker)
    Based on life drain spell,
    variables: smokerstarget - unit, piont1 - point, point2 - point, pullsurv - Real (for me value is 1, you shold remove it, it is not necessary):
    Set point2 = (point1 offset by (10.00) towards (Facing of smokerstarget) degrees)

    This trigger will pull to the smoker
    But i wanna know, how the target is like "pulling" the way to the smoker. Sorry i'm not so good at variables :hohum:
    ----------
    Too bad you made it protectet, i really wanna know how you made the smoker tongue. I'm working on a l4d map as well : (. And pipe bombs and how you made the hunter jump!
    ----------
    Smoker tongue is easy to made. Its like:
    Events
    Unit - A unit Begins casting an ability
    Conditions
    (Ability being cast) Equal to tongue shot
    Actions
    Set smokerstarget = (Target unit of ability being cast)
    Trigger - Turn on smoker pulling <gen>


    Events
    Time - Every 0.05 seconds of game time
    Actions
    Set point1 = (Position of smokerstarget)
    Set point2 = (point1 offset by (pullsurv + 10.00) towards (Facing of smokerstarget) degrees)
    Unit - Move smokerstarget instantly to point2, facing (Position of smoker)


    Pipes easy too. Just pick zombies in range every 1 second and order to attack bomb.

    Hunter: I use Paladon jumping system
    look for Visibility-Disable for of war and Visibility-Disable Black Mask. That would reveal all map for all players.

    To unlock map for a certain player I guess you can use 'visibility-create visibility modifier'. Didn't use this myself but doesn't look hard.
    I keep getting message that I use too much characters in my reply so I will send you private message.

    Your trigger should work but you can all ways test it yourself and tell :grin:
    That's good you figured out most by your self.:infl_thumbs_up:
    Easiest trigger I can think for a chance to drop item would be this:
    Events
    Unit - A unit Dies
    Conditions
    (Random integer number between 1 and 10) Equal to 1
    Actions
    Item - Create {item} at (Position of (Dying unit))


    If creeps need to drop random items and you know how to work with variables then you need 2 triggers.
    trig1
    Events
    Map initialization
    Conditions
    Actions
    Set Item[1] = Claws of Attack +15
    Set Item[2] = Crown of Kings +5
    Set Item[...] = .....
    Set Item[10] = Orb of Frost

    trig2
    Events
    Unit - A unit Dies
    Conditions
    (Random integer number between 1 and 10) Equal to 1
    Actions
    Item - Create Item[(Random integer number between 1 and 10)] at (Position of (Dying unit))
    Sorry for late reply. I didn't notice your message.
    Do you still need help with triggers?
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top