Next revision Both sides next revision | |||
hpl2:tutorials:script:pushdoorsopen [2011/07/18 12:26] ouroboros created |
hpl2:tutorials:script:pushdoorsopen [2011/07/18 12:29] ouroboros [Opening entities with doors] |
||
---|---|---|---|
Line 39: | Line 39: | ||
- | So, for starters you'll need what you want to open, I happen to have the bodies needed to a metal cabinet in some code so I'll use that for an example. | + | So, for starters you'll need what you want to open, I happen to have the bodies needed to a metal cabinet in some code so I'll use that for an example. |
Line 55: | Line 55: | ||
Finding out what a body's name is, is rather easy. All you do is open the model editor and open the .ent file for the entity you want to use. This should bring up the finished model with pink boxes at the doors, just click these boxes, making sure that you select the right one, and then just use the name in the code as shown above. | Finding out what a body's name is, is rather easy. All you do is open the model editor and open the .ent file for the entity you want to use. This should bring up the finished model with pink boxes at the doors, just click these boxes, making sure that you select the right one, and then just use the name in the code as shown above. | ||
+ | |||
+ | |||
+ | //This page created by: Ouroboros// | ||