Jump to content

Scripting Help


Ellixen

Recommended Posts

It might help if you listed (with details) his packages, in the order you have them in the CS.

 

I figured it out, i had the continue if pc is near checked which made him want to close shop. and then i discovered another problem, he was sleeping when his eat package was supposed to happen. Well that was happening because i had his eat package set to location "his bed" xD

 

Thanks for your help, however I still have one final problem, those damn teleporting soldiers who eat then magically appear in their beds. My pathgrid has no obstacles preventing their movement so I'm at a loss.

Edited by Ellixen
Link to comment
Share on other sites

bump, please if anyone knows what's going on i could really use the help.

 

 

Their packages are, sleep, 11 - 13 hours; eat 8-3 hours; wander 0 - 8 hours and they have no flags, location is set to 1000 of their editor location

Link to comment
Share on other sites

This is your setup:

sleep 11x13 	--> 11am - 00am
eat 8x3   	--> 08am - 11am
wander 0x8	--> 00am - 08am
no flags
editor location 1000

 

Remember that packages are picked in the order that they are listed, and you have no transition between eating and sleeping (hence the teleport) and no catch-all wander as the last package. So change it to this:

eat 8x2   	--> 08am - 10am
sleep 11x13 	--> 11am - 00am
wander Any      --> Any
no flags
editor location 1000

Link to comment
Share on other sites

Well that fixed the problem for the most part, now after they're done they'll wander for one more hour and go to bed. I've replicated the problem again, but only when you wait past the time they're supposed to be done, so I guess that's as good as its going to get. Thank you so much for your help.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...