Stabbey
Learned
- Joined
- Apr 14, 2013
- Messages
- 155
I'm confused. Are NPC schedules going to be scripted or systemic behaviour? I thought it was the latter?
Systemic, but this video was demonstrating that the "Stealing" system takes into account different things like "can you be seen", "are they the owner", "is the NPC a merchant", "How much do they like you", "have you been caught stealing before". Systemic means that all those checks will be automatically made, so the programmers won't have to write those scripts each time for every NPC.
It's a bit more work for the NPC schedules, but once there's a system up for that, then it'll be comparatively easier to just plug in storefront into the 'destination' field in "NPC.onwakeup(destination)" than to write the onwakeup() function for every individual NPC.