Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make an enemy spawn facing a certain way
Cryaotic Offline
Senior Member

Posts: 369
Threads: 13
Joined: Oct 2010
Reputation: 72
#7
RE: How to make an enemy spawn facing a certain way

(12-15-2011, 08:56 AM)palistov Wrote: One last thing you might want to try: Create a script area where you want the monster to stand, and use CreateEntityAtArea("grunty", "grunt.ent", "areaSpawnGrunt", false); and see how that affects his facing. Rotate the script area and see if that affects how it spawns. I'm not sure if this will help at all, or if you've tried it, but hey it's always worth a shot.

To avoid that small bit of lag when using this function, you need to make sure you have another grunt somewhere else in the map so the game loads it into the cache when the map starts.
Other than that I can't be much more help...I can do all kinds of trickery but sometimes (including most cases involving monsters) there's just no easy solution. Good luck to you though Big Grin
That's a no go, but definitely was a good idea to test - thanks for the attempt. :]

And Kman, with how my map is setup I have very little room to work with in terms of adjusting how the room is structured - but also thanks for the tip!

12-15-2011, 09:04 AM
Find


Messages In This Thread
RE: How to make an enemy spawn facing a certain way - by Cryaotic - 12-15-2011, 09:04 AM



Users browsing this thread: 1 Guest(s)