Thread: Scripting
View Single Post
Re: Scripting
Old
  (#4)
TomTom
ET Waypointing team member
 
TomTom's Avatar
 
Status: Offline
Posts: 745
Join Date: Jun 2006
Default Re: Scripting - 25-01-2007

192 //func_explosive{ spawn { remove } death { remove }}????!

Are you confusing the 2 methods?

If you use the func_explosive entity number you need to place the code inside the game_manager like
Code:
 game_manager
 {
     spawn
     {
        barrierRemove
       {
           173 //192? the entity number of the barrier to remove
       }
 ...
     }
 ...
To use the second method you need to find the name that follows "scriptname" for the entity in the bsp file

(I doubt very much that func_explosive is used like this;
Code:
{
...
"scriptname" "func_explosive"
...
}
or that this;
Code:
{
...
"scriptname" "192"
...
}
is used in the bsp. PLEASE Check the bsp again!)

If you can't handle the bsp then stick to barrierRemove method.


.one Ringstellung to rule them all.

Last edited by TomTom; 25-01-2007 at 14:09..
  
Reply With Quote