View Single Post
Old 08-22-2004, 06:38 AM   #9 (permalink)
xApoCx
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by mikial
can I get an example of how the command should look is it:

[add switch north,3,1 or is it different im sorry im old cant figure out lol, appriciate the help.
If you look to the scripts you can find that syntax for [add will be

the first argument is door facing this is defined like enum type
Code:
 public enum DoorFacing
 {
  WestCW,
  EastCCW,
  WestCCW,
  EastCW,
  SouthCW,
  NorthCCW,
  SouthCCW,
  NorthCW
 }
the second is doortype (int)

and the last one is count (int)

you add switch:
[add switch 1 1 2

then in [props set the makedoors to true
then move the doors where you want by [move
if you want to make another switch which can operate with doors in [props is makechild (set it to true) and move the switch by [move
xApoCx is offline   Reply With Quote