Results 1 to 5 of 5

Thread: AIANCHOR_SLEEP and Bed | Forums

  1. #1
    I inserted an AI_Anchor ( AIANCHOR_SLEEP ) into a map, inserted a bed ( simple entity, Islanders_Bed or so ) into a hut, but I didn't get it working like I thought it would. No matter how i placed and rotated the anchor, my grunt would either lay down across it or simply sleep outside the hut.

    Is there something i missed or some catch you can easily fall into?

    Any solutions and proposals welcome
    Reply With Quote Reply With Quote

  2. #2
    I inserted an AI_Anchor ( AIANCHOR_SLEEP ) into a map, inserted a bed ( simple entity, Islanders_Bed or so ) into a hut, but I didn't get it working like I thought it would. No matter how i placed and rotated the anchor, my grunt would either lay down across it or simply sleep outside the hut.

    Is there something i missed or some catch you can easily fall into?

    Any solutions and proposals welcome
    Reply With Quote Reply With Quote

  3. #3
    I had no trouble with this. You just need to place a anchor near the bed. It doesn't matter where it points to or where it is. The important thing is where you place your merc. When the merc is inside of a Anchor field he immediately lies down where he stands. I'll post two pics wich should make it clearer.



    Place your merc infront of the bed and make him look away from the bed.



    Then he sleeps like a baby, till someone comes and wakes him up
    Reply With Quote Reply With Quote

  4. #4
    hmm, seems i tried it the sameway, (placement of anchor and bed) only difference was that my merc was outside the anchor (JOB_StandIdle and went to the bed, animation for laydown works as designed, but the placement of the merc is a lil ' disturbing [i already got him across, aside or even under the bed] )

    But seeing that it works with this type of bed, maybe i should try changing the bed model. Btw. is your bed a brush or a simple entitiy (didn't work for me with either).

    Anyway thanks, at least i know it's possible
    Reply With Quote Reply With Quote

  5. #5
    Its a brush. When you use a physicalized simple entity the merc may pull the bed away.
    Reply With Quote Reply With Quote

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •