Fixangle?
Moderator: InsideQC Admins
3 posts
• Page 1 of 1
Fixangle?
I've added monsters to my mod.
Problem is, in certain spawn points the monsters face the wall.
I tried adding self.fixangle = TRUE; to the code but that didn't help.
How can I fix this?
Problem is, in certain spawn points the monsters face the wall.
I tried adding self.fixangle = TRUE; to the code but that didn't help.
How can I fix this?
Welcome to the Overlook Hotel: The-Overlook-Hotel.game-server.cc
-

redrum - Posts: 410
- Joined: Wed Mar 28, 2007 11:35 pm
- Location: Long Island, New York
Add:
Make sure the monster's spawnning function calls SelectSpawnPoint() from an entity called "spot", or whatever. If is not "spot", then change it to whatever name you gave to the local entity (that is at the very top of the monster spawning function).
Remove the self.fixangle = TRUE line.
- Code: Select all
self.angles = spot.angles;
Make sure the monster's spawnning function calls SelectSpawnPoint() from an entity called "spot", or whatever. If is not "spot", then change it to whatever name you gave to the local entity (that is at the very top of the monster spawning function).
Remove the self.fixangle = TRUE line.
-

Orion - Posts: 476
- Joined: Fri Jan 12, 2007 6:32 pm
- Location: Brazil
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest