View Single Post
  #8  
Old 01-20-2018, 06:38 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Thank you for your reply Uleat!
I trying hard to test the intensity but not sure how to force the client to show me different intensity for rain/snow.

I have tried to force this with a quest script like:



sub EVENT_SAY {

if($text=~/hail/i)
{quest::say("bla bla $name - $zoneweather");
}

if($text=~/rain/i)
{quest::say("bla bla $name - RAIN HARDER! $zoneweather");

quest::rain($zoneweather+5); }

if($text=~/snow/i)
{quest::say("bla bla $name - SNOW HARDER! $zoneweather");

quest::snow($zoneweather+5);}

}

I THINK its working - as I see snowflakes flying faster, but I can't say that I notice any changes on fog levels.


Also, by chance is zone clip exposed to Perl script?
I am asking because we have gm command #zclip, having it accessible via Perl function would be nice - we could then create Fog weather effect by lowering the clipplane.
Reply With Quote