Jump to content

Can someone help me with a script?


Dementous

Recommended Posts

I think there is another way to do this.

 

forget all the scripts on the gnomes

 

what I think you should do is use only the quest script and have it check if the player has the gnome in his inventory.

An example:

 

scn ExampleScript

short gnome1
short gnome2
short gnome3
short gnome4
short gnome5
short GnomesFound

begin gamemode

if gnome1 == 0
if player.GetItemCount FirstGnome
set gnome1 to 1
set GnomesFound to GnomesFound + 1
endif
endif

if gnome2 == 0
if player.GetItemCount FirstGnome
set gnome2 to 1
set GnomesFound to GnomesFound + 1
endif
endif

if gnome3 == 0
if player.GetItemCount FirstGnome
set gnome3 to 1
set GnomesFound to GnomesFound + 1
endif
endif

if gnome4 == 0
if player.GetItemCount FirstGnome
set gnome4 to 1
set GnomesFound to GnomesFound + 1
endif
endif

if gnome5 == 0
if player.GetItemCount FirstGnome
set gnome5 to 1
set GnomesFound to GnomesFound + 1
endif
endif

if GnomesFound == 1
Do Found First Gnome stuff
elseif GnomesFound == 2
Do Found Second Gnome stuff
elseif GnomesFound == 3
Do Found Third Gnome stuff
elseif GnomesFound == 4
Do Found Forth Gnome stuff
elseif GnomesFound == 5
Do Found Fifth Gnome stuff
endif

end

 

 

You will have to fill in the blanks (the Gnome IDs and what you want to do with the quest when you have found each Gnome)

Unless you want to make each Gnome do something different when you get it, then there will be a little more work to do.

 

Also I haven't looked at the esp much since I couldn't find the quest in the list (I would have named it something like "DemGnomeSearchQuest"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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