View Single Post
Old 10-20-2003, 08:00 AM   #5
Legolas
Jack Burton
 

Join Date: March 31, 2001
Location: The zephyr lands beneath the brine.
Age: 40
Posts: 5,459
Cutscenes are giving me a headache. Argh! Work, you cursed things...

Regarding the random encounters, you can use the switch to make an encounter script (where how many of what kind of monster would spawn when the script is triggered) and use a second script for the area, OnEnter would be a good place to put it, that triggers the encounter script after a random amount of time.

The latter would look something like


DelayCommand((D6(3)+20), ExecuteScript("Encounter"), GetFirstPC());
DelayCommand((D6(5)+80), ExecuteScript("Encounter"), GetFirstPC());
DelayCommand((D20(1)+132), ExecuteScript("Encounter2"), GetFirstPC());
DelayCommand((D6(5)+317), ExecuteScript("Encounter"), GetFirstPC());


Or something along those lines.
Legolas is offline   Reply With Quote