These extremely simple scripts are actually very powerful. They enable you take the static nature of scripts assigned to creatures and henchmen and make them dynamic. This means you can change what script a creature is using for all the events OnHeartbeat, OnBlocked, etc. with a simple line of code. This means you could have a henchman suddenly cross a trigger and have it completely change the script he is using. This could be handy for assassinations and special circumstances. Code also becomes modular, shareable, and reusable this way.
Posted by wmb1957 at 2011-04-25 21:26:13 Voted 10.00 on 04/25/11
Hadn't ever noticed this before. Seems it is to easy to miss things in the vault. I haven't tried it yet, my vote is based on not ever having seen a similar scripting system in the vault before.
This is a compilation of the old system into a single score. There were 1 that made this score of 9 then rounded to 9.
Posted by Deva Bryson Winblood ( ..xxx.xxx ) at 2003-06-22 12:01:00
Glad you like it. Haven't noticed anyone looking at this for quite awhile. :)
Posted by Red Golem ( ..xxx.xxx ) at 2003-06-11 11:26:00
I like it! So simple yet so powerful! It is a good way to allow complex scripts to be split up into small simple scripts.
Posted by Deva Bryson Winblood ( ..xxx.xxx ) at 2002-10-09 16:32:00
I am working on NPC ACTIVITIES 4.0 now which will
incorporate this script within that script. Check out NPC
ACTIVITIES 3_0_3b for more information.
Posted by elandys ( ..xxx.xxx ) at 2002-10-07 09:43:00
Sounds neat. I can think of plenty of places where this
would be useful; for instance, having a NPC with a job
(such as guard or bartender) switch to off duty. I'll be
looking at this tonight.
You must be Logged In to post comments in this section.