Jump to content

Utgarde Keep -Scripting help


donker316

Recommended Posts

I have just finished the Furnace of Hate and the Dragonflyer Pens of my utgarde Keep Dungeon and I need some help with scripting a part of the Furnace of Hate. I want to make it so that when u kill the Forge Masters that the flames coming from the Forge will be put out. There are three Forge masters and three large Flames coming from the Forge and to get pass the flames u must kill them. I have no scripting experience, but I am going through the tutorials. Any ideas or help would be great.
Link to comment
Share on other sites

I want one flame to go out at a time. One for each Forge Master. thank you for the reply.

 

p.s. I would also like the flames to kill the player instantly if he tries to just run through them.

Edited by donker316
Link to comment
Share on other sites

Use this to make an object script and put it on your forge masters:

 

scriptname examplescript

Begin OnDeath

if (flame1.GetDisabled == 0)
	flame1.Disable
elseif (flame2.GetDisabled == 0)
	flame2.Disable
else
	flame3.Disable
endif

End

 

Flame1, flame2 and flame3 would be the reference IDs you assigned to your flames.

 

As for the flames, make an object script using this for them:

 

scriptname examplescript

Begin OnTrigger Player

if (Player.GetDead == 0)
	Player.Kill
endif

End

Link to comment
Share on other sites

Ok so I tested it out. It worked like a Charm! Thank you! I have only finished two rooms but I will need some help scripting the boss fights. Hopefully you can help again. One last question though when the forge masters respawn will the flames return or is this a one time deal. I havent had time to test it yet so i'm just curious. thanx again your a huge help! Edited by donker316
Link to comment
Share on other sites

What's the purpose of using elseif? Is there some drawback to calling disable on an already disabled object?

 

 

I see it now. Good idea. That saves having to make three separate scripts and NPCs.

 

(By the way, you totally should put up some WiPz screenshots of the dungeon. I'd be interested in seeing how you built it.)

Link to comment
Share on other sites

What's the purpose of using elseif? Is there some drawback to calling disable on an already disabled object?

 

 

I see it now. Good idea. That saves having to make three separate scripts and NPCs.

 

(By the way, you totally should put up some WiPz screenshots of the dungeon. I'd be interested in seeing how you built it.)

 

I will soon. It's not the calibur of what u did with SM and Shadowfang Keep, but I'm proud of it. I have only finished the Furnace of Hate and Dragonflyer pens is 90% done, so I got a ways to go. So far so good though thx to the help

Edited by donker316
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...