Ranokoa Posted December 9, 2009 Share Posted December 9, 2009 I was wondering if I could get a script for a triggerbox that when you walk through it somethin disables and it plays sound for moving stone. Even like a stone door closing is fine. As well, i need another triggerbox that spawns a creature at a specific X marker. Preferably written so it can spawn up to 5 different zombies in 5 different x markers, but is ; 'd off so it originally and safely spawns only 1. Thanks. I have been 3 day sleep deprived with only a couple hours here or waaay over there of sleep (no solid deep sleep) and scripting is beyond my brains capabilities currently. Link to comment Share on other sites More sharing options...
alex2avs Posted December 9, 2009 Share Posted December 9, 2009 scn scriptnameref obj Begin Gamemodeset obj to getselfif obj.GetDistance Player == 0 doorref.disablePlaySound SoundID endifend The other one would look like this : (zombie must be placed in an other cell for this) scn blahref triggerref zombie 1ref zombie 2ref zombie3ref zombie 4ref zombie 5 Begin Gamemode set obj to getselfif obj.GetDistance Player == 0 zombie 1.disablezombie 1.MoveToMarker MarkerID, [x, y, z] (optional)zombie 1.enable {repeat this part for every zombie} endifend done using the CS Wiki Link to comment Share on other sites More sharing options...
Recommended Posts