Jump to content

Please help


Ranokoa

Recommended Posts

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

scn scriptname

ref obj

 

Begin Gamemode

set obj to getself

if obj.GetDistance Player == 0

 

doorref.disable

PlaySound SoundID

 

 

endif

end

 

 

 

The other one would look like this : (zombie must be placed in an other cell for this)

 

scn blah

ref trigger

ref zombie 1

ref zombie 2

ref zombie3

ref zombie 4

ref zombie 5

 

Begin Gamemode

 

set obj to getself

if obj.GetDistance Player == 0

 

 

zombie 1.disable

zombie 1.MoveToMarker MarkerID, [x, y, z] (optional)

zombie 1.enable

 

 

{repeat this part for every zombie}

 

endif

end

 

done using the CS Wiki

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...