I have the documentation, yeah. But I am a bit unsure about the parameters I shall use.
'>
I suppose I shall do it like this...
1. Spawn the NPC at a waypoint, using the "Spawn at Day" (Simulating he leaves his home)
2. Let it walk to another waypoint with patrol (Simulating he walks to the market)
3. Run a Heartbeat Script (Spawn_sc_hbeat) at the waypoint at the market
4. Let it check for night every HB, and when that is true, send him back to his home.
Maybe I am doing it too complicated or too simple. My current problem is, that it won't fire any HB script at all - nothing happens.
Edit: Ok, found out that I can't use the HB event on patrol routes
Modifié par YeOlde, 15 février 2012 - 04:25 .