Console commands

Post » Wed Apr 07, 2010 4:26 am

How do i change this
If getdead == 1
disable
endif

to make it so it waits 10 seconds before it disables the body
also i remember in morrowind their was a disable command but that wouldn't entirely delete him and the lagg would still occur if there were too many bodies. Is there a similar setdelete 1 command in fallout so i can eleminate lagg from this creature's ( or npc's ) body.
User avatar
Taylor Thompson
 
Posts: 3350
Joined: Fri Nov 16, 2007 5:19 am

Post » Tue Apr 06, 2010 3:39 pm

That's not a console command, its a script. This is a quick script I run on spawned actors when I want to disable and delete them after 10 seconds

scn UCACERanged3TscriptShort IsDeadFloat TimerBegin OnDeath	Set IsDead to 1	Set Timer to 10EndBegin GameMode	If (IsDead==1)		If Timer > 0			Set Timer to Timer - GetSecondsPassed		Else			disable			markfordelete			Removeme		Endif	EndifEnd

User avatar
Umpyre Records
 
Posts: 3436
Joined: Tue Nov 13, 2007 4:19 pm

Post » Wed Apr 07, 2010 1:26 am

Thnank you i will try that.
User avatar
Sammykins
 
Posts: 3330
Joined: Fri Jun 23, 2006 10:48 am


Return to Fallout 3