Game Development Community

Spawn Marker question

by Rodney (OldRod) Burns · in Torque Game Engine · 05/17/2005 (11:10 am) · 3 replies

I finally got a chance to play around with this resource (http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3531) and it's great! :)

After playing with it a bit, I have a question. How can I link the SpawnNPC() function in this script to a spawn marker that I can place in the mission file editor?

I looked at the spawnspheremarker and don't see any way to link it to the SpawnNPC() function. Maybe I need to add a dynamic field or something?

To anyone who can help, thanks :)

#1
05/19/2005 (5:05 am)
Anyone have an idea? Sorry to bump this, but with the "unread posts" link acting up I was under the hopes that someone with an answer just missed it :)
#2
09/07/2005 (1:46 pm)
Hello Rodney:

Any luck with this? I'd like to place mission specific NPCs into my game through the mission file. I've been able to place NPCs with the RPGDialog resource by using SpawnNPC in the game.cs, but this puts the same NPCs in all my missions. I've also taken a look at the AIguard resource and have been able to implement that as well. Any thoughts or help you may offer?

Thanks!
#3
09/07/2005 (2:14 pm)
No, unfortunately I've been working on other projects and tied up with work lately - haven't had a chance to mess with this any :(