Where is the sandman?

  • Thread starter Thread starter Misery
  • Start date Start date
M

Misery

Guest
hi
I'm newbie mapmaker so I have a question.
I want some of my units in the map to sleep.I tried sleep and sleep at night actions but it didn't worked.Then i changed the units as neutral passive ,and it didn't worked too.
Is there any other way to accomplish this?
please help me ,because this map will be my presentation at college.
 
you're certainly thinking well for a newbie, you've done well so far...

have you tried changing the units to neutral hostile yet? that might do the trick. Use those sleep or sleep at night actions as well they should work.
 
yes "neutral hostile" thing did worked! Thank you so much!
but now i have another problem ,they are sleeping at standing position.Is there anyway that i will make them lay down?
 
Well actually there isnt a sleep animation in warcraft, as far as I know... but what you can try to do is:
When ever the right time of day comes play the "decay flesh" animation for those units you want to sleep... do this by a trigger

Events
Game - The in-game time of day becomes Equal to 22.00
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is sleeping) Equal to True
Then - Actions
Animation - Play (Picked unit)'s decay flesh animation
Else - Actions
Do nothing

Now this is really an unelegant way to do this. Using "Pick every unit in (Units in (Playable map area)) " isnt really suggested as a good way of doing things, but this is all coming from my head so...
I cant think of anything better for now. Im also not sure that the time of day is quite right, maybe they go to sleep later or erlier, and maybe you need to run this a second after they go to sleep.
Anyway If you decide to do this, you`ll probably need another trigger to put them back to their previous state( the stand position)

That`s all I can think for now... good luck :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top