Eagles Talon wrote...
Greetings,
I'm looking to do two things that I'm not sure how to accomplish. I'm fairlty certain that scripting will be involved. Any help or perhaps a finger pointed in the right direction for help would be much appreciated.
First item: I'd like to be able to spawn different creatures at night from creatures spawned during daylight.
Second Item: I want to be able to define certain sections of a single area to be restable.
Thanks in advance for any help you can offer!
ET
I would recommend NESS if the OP finds it suitable (though it has many more features than just day/night spawns it would do what is requested and may be useful in other situations for the OP. So I would suggest to the OP, read the NESS pdf manual (at least the table of contents to see what it does, and read the detail sections on what interests you).
For the second item, use a trigger that sets/unsets a 'rest' variable on the PC on enter/exit of the trigger. This would take two simple scripts (placed in the on_enter and on_exit event of the trigger). Modify the current rest script you use to first check the 'rest' variable, if it is set TRUE allow rest script to continue, otherwise, exit from the rest script (as via a 'return;').
I'm not in a location where I can write those scripts for you - though it would be easy to do and if you PM me asking for them, I'll write back and send them to you (I do all my coding on another computer).
For our PW, we use a 'rest trigger' just like this, and also a single line in our area on enter scripts for 'restful areas' that sets the rest variable on each entering PC, and we remove it from them when they leave. In this way our rest scripts will only fire if your PC is in a restful area or a rest trigger.
In our PW, some classes can rest anywhere, so we have scripted an exception to the above rule too.