User talk:Qwerty

From GECK

Headless ragdoll

Hey, quick question. How would I spawn a headless ragdoll (dead NPC)? I can make the dead ragdoll move into the position I want, but I have no idea how to make it so that by default, it has its head blown off.

Thanks.

Hi Qwerty, as you can see I've moved this question onto your own user talk page. This is because general questions like this really belong on your own talk page. If you have a question about a specific article or one that you think that only a specific person can answer, then it should be asked on another talk page. Please sign your posts with ~~~~ as well so that anyone replying can easily tell who you are.
In order to achieve this, you'll want to create an object script that dismembers the actor's head when they are first loaded. Something like this should work:
int iDoOnce

Begin OnLoad

	if iDoOnce
	else
		set iDoOnce to 1
		KillActor MQDadRef 1
	endif

End
That script will cause the scripted actor's head to explode when they are first loaded. Don't worry about the use of MQDadRef - it's just a placeholder as the killer has to be specified. It can't be the player, so I've just chosen MQDadRef, which has been used in Fallout3.esm for the same purpose.
-- Cipscis 23:31, 25 May 2009 (UTC)
Personal tools