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...

[SKY] Bow - count Arrows and die.


Ashenfire
 Share

Recommended Posts

 I can't figure out how to make my npc die when he runs out of arrows.

 

I am trying to accomplish:

 

  • Start counting days once a player enters a trigger zone.  One shot trigger.
  • Take note of the total number of arrows in inventory of NPC, using the same one shot trigger.
  • Compare how many arrows are fired from NPC's bow to the Total number started with.

          for the purposes of subtracting from the total.  When it is zero, it sets off an event.

 

  • Once days are counted are 30, NPC starves to death.

     My focus right now, is to figure out how to store these into variables and then call upon them,

     later in the game.

   

     I have a miscellaneous list of tracked variables in the game, courtesy creationkit.com.

     I just do not know how to declare the variables or pass them on in a script.

 

Edited by Ashenfire
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...