Jump to content

Home

can i make


ALtEReD

Recommended Posts

won't work in multiplayer

in singleplayer you would do it similiar like in this example:

 

give the npc you want to be dead a spawnscript

 

entity window of the npc:

key: spawnscript

value: myownscript.ibi

 

 

the script should consist of the following (ibiscripts are created with behaved, that is available in the second jediknight tooledition):

 

set ( "SET_WEAPON", "WP_NONE" );

set ( "SET_ANIM_BOTH", "nameofanimation" );

set ( "SET_ANIM_HOLDTIME_BOTH", -1.000 );

 

first command "set weapon" will leave the npc hands empty in this version :)

second command calls a specific animation, that is defined through names (see my list below)

third command will force the npc to stay in his animation, to avoid a dead man standing up and shooting at you *g*

 

 

animationnames (insert for "nameofanimation" in command line 2):

BOTH_SLEEP1

BOTH_FALLDEAD1LAND

BOTH_DEAD1

BOTH_DEAD2

....to...

BOTH_DEAD25

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...