spawn creatures dead
Moderator: Event DM
- girlysprite
- Elder Sage
- Posts: 3659
- Joined: Mon Apr 12, 2004 2:38 pm
- Location: In my little pony ranch
- Contact:
spawn creatures dead
I am working on my own mod now, and as a part of an area I want dead creatures. I dont know a way to put em in the toolset dead already (is that even possible?)
if that isnt possible, how can I make a corpse undecayable?
if that isnt possible, how can I make a corpse undecayable?
Gaming doesn't make people voilent, lag does
<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
- girlysprite
- Elder Sage
- Posts: 3659
- Joined: Mon Apr 12, 2004 2:38 pm
- Location: In my little pony ranch
- Contact:
- mortzestus
- Team Member; Retired with Honors
- Posts: 3964
- Joined: Wed Sep 17, 2003 4:34 pm
- Location: Madrid, Spain (GMT +1)
- girlysprite
- Elder Sage
- Posts: 3659
- Joined: Mon Apr 12, 2004 2:38 pm
- Location: In my little pony ranch
- Contact:
Now with this I dont get a lottable corpse anymore, even when the checkbox is checked for that.mortzestus wrote:Use x0_c2_spwn_corp.nss in the on spawn event.
Gaming doesn't make people voilent, lag does
<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
Use an invisibleobject with the name of "dead goblin" or whatever and an inventory (and usable of course), and make the dead creature object static?girlysprite wrote:Now with this I dont get a lottable corpse anymore, even when the checkbox is checked for that.mortzestus wrote:Use x0_c2_spwn_corp.nss in the on spawn event.
- girlysprite
- Elder Sage
- Posts: 3659
- Joined: Mon Apr 12, 2004 2:38 pm
- Location: In my little pony ranch
- Contact:
I have the problem solved, more or less...and have moved on to a new problem.
I have this code where someone has to make a fortitude save with a DC of 15, and if he fails, he gets dazed for 20 seconds.
void main()
{
object oPC = GetPCSpeaker();
if (FortitudeSave(oPC, 15))
{
oTarget = oPC;
eEffect = EffectDazed();
eEffect = SupernaturalEffect(eEffect);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 20.0f);
}
}
I get this error: ac9_3_dazed1.nss(8): ERROR: VARIABLE DEFINED WITHOUT TYPE
I have this code where someone has to make a fortitude save with a DC of 15, and if he fails, he gets dazed for 20 seconds.
void main()
{
object oPC = GetPCSpeaker();
if (FortitudeSave(oPC, 15))
{
oTarget = oPC;
eEffect = EffectDazed();
eEffect = SupernaturalEffect(eEffect);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 20.0f);
}
}
I get this error: ac9_3_dazed1.nss(8): ERROR: VARIABLE DEFINED WITHOUT TYPE
Gaming doesn't make people voilent, lag does
<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
<Dimotane> I think deep down, when we're honest with ourselves... we're all a pregnant male elf.
Code: Select all
void main()
{
object oPC = GetPCSpeaker();
if (FortitudeSave(oPC, 15))
{
effect eEffect = EffectDazed();
effect eEffect = SupernaturalEffect(eEffect);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oPC, 20.0f);
}
}
- girlysprite
- Elder Sage
- Posts: 3659
- Joined: Mon Apr 12, 2004 2:38 pm
- Location: In my little pony ranch
- Contact: