Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

How do i go about making quest scripts


Epic
 Share

Recommended Posts

That's a little trickier to do, it involves creating a global variable. Let me see if I can dig up an easy tutorial.

alright ..i hardly ever explain scripts..but here we go:

let's say you got three monsters who need to be slain

the quest name is monsterbash

attach a script to the quest you have and add a global.. like for instance:

scn monsterbashscript

short ijustgotkilled - this is the global

now you have to advance to the script which will attached to the monsters or npcs if you will;

scn monsterbashnpcscript

begin ondeath

set monsterbash.ijustgotkilled to ( monsterbash.ijustgotkilled + 1 )

this will initiate a running script which advances the global by + 1

so you need 3 monsters with the monsterbashnpcscript attached to it.

then you can write a result script inside the npc script for example:

if ( monsterbash.ijustgotkilled == 3 )

setstage for example :salute:

i hope this helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...