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
Path nodes ain't showing up!
GraphicsKid Offline
Senior Member

Posts: 258
Threads: 34
Joined: Dec 2010
Reputation: 3
#3
RE: Path nodes ain't showing up!

The code isn't the problem. I can see the monster standing there, so that is working fine. In debug mode with "Show Entity Info" enabled, the path nodes normally show up when an enemy is present. They don't here, and the enemy doesn't move (state stays at "idle"). To me, this says there's something wrong with spawning an enemy via the CreateEntityAtArea function, as opposed to the SetEntityActive function. Is there any way to fix this?

If not, does anybody have any ideas as to how I can fix this? Here's the situation: I have a sort of labyrinth that is illuminated by gas torches. The gas only stays on for so long after you've pulled the lever. The monster, for whatever reason, is repelled by the light from these gas torches, and disintegrates when they're lit. Now suppose you're running through the maze, and the lights go out, now you've got to run back because the monster is coming after you now! So you run, run, run, and finally reach the lever, just as the monster reaches you. You turn around, pull the lever, and poof, the monster is gone. HERE IS THE PROBLEM: How do I spawn a new monster at the end of the maze? Simply doing SetEntityActive makes the monster appear where it disappeared, and that's obviously no good. Unless I've missed something, there doesn't appear to be any way of teleporting the monster back to the starting position.
05-31-2011, 01:40 AM
Find


Messages In This Thread
Path nodes ain't showing up! - by GraphicsKid - 05-30-2011, 08:56 PM
RE: Path nodes ain't showing up! - by Kyle - 05-30-2011, 10:21 PM
RE: Path nodes ain't showing up! - by GraphicsKid - 05-31-2011, 01:40 AM
RE: Path nodes ain't showing up! - by Kyle - 05-31-2011, 04:05 AM
RE: Path nodes ain't showing up! - by GraphicsKid - 05-31-2011, 04:45 AM
RE: Path nodes ain't showing up! - by Apjjm - 05-31-2011, 11:45 AM
RE: Path nodes ain't showing up! - by laser50 - 05-31-2011, 12:37 PM
RE: Path nodes ain't showing up! - by Apjjm - 05-31-2011, 02:18 PM
RE: Path nodes ain't showing up! - by GraphicsKid - 06-02-2011, 04:50 AM
RE: Path nodes ain't showing up! - by Apjjm - 06-02-2011, 02:13 PM
RE: Path nodes ain't showing up! - by GraphicsKid - 06-02-2011, 04:33 PM
RE: Path nodes ain't showing up! - by palistov - 06-02-2011, 10:00 PM
RE: Path nodes ain't showing up! - by GraphicsKid - 06-03-2011, 08:50 PM



Users browsing this thread: 5 Guest(s)