Jump to content

Photo

Help making an ACTUAL campfire

campfire help newb creation kit resourses

  • Please log in to reply
4 replies to this topic

#1
GasMaskGhoul

GasMaskGhoul

    Newbie

  • Members
  • Pip
  • 13 posts

Automatic item activation/deactivation help

So ive been trying to look for tutorials and hoy to script and then searched for papirus tutorials to no avail. Ive basicaly been looking to make a bonfire get lit at night and turn off by day. I tried so hard and got so far but in the end in doesnt even work.
These ore the only 2 ways i could think that would be posible:
(Ps: If its do able id prefer the 2nd)

First way
Active unlit bonfire and deactivate lit bonfire when Xnpc goes to work when he enters trigger area. Active lit bonfire and deactivate unlit bonfire when said npc leaves trigger area.

Second way
Deactivate lit bonfire and active unlit bonfire at night 7am-6pm. Deactivate unlit bonfire and activate lit bonfire at 6pm-7am. (Activation by time)

I dont know how to script well so it would help if you could paste IT or give me a very close example.

#2
soupdragon1234

soupdragon1234

    clueless n00b

  • Supporter
  • PipPipPip
  • 911 posts

Well there a couple of ways I can think of, 1st would be an OnUpdate() event that fires every twelve hours or so and flips a script through one of two states, one an "on" state that disables the "fire out" campfire and enables a "fire lit" campfire, the other doing the opposite.

 

A more elegant solution would be an AI package thats attached to an NPC that makes them head to a marker next to the campfire surrounded by a trigger box that once the NPC enters it either enables/disables the lit/unlit campfire depending on time of day.



#3
Rabbit1251

Rabbit1251

    Resident Rabbit

  • Premium Member
  • 4,201 posts

Why are you posting your question here? This is the forum that lets new people introduce themselves and say, "Hi". Your question would be best asked in the forum of the game that you are actually playing. As you did not say what game that was, and the Nexus hosts over 250 different titles, I cannot redirect you.

 

 

The Rabbit



#4
GasMaskGhoul

GasMaskGhoul

    Newbie

  • Members
  • Pip
  • 13 posts

Why are you posting your question here? This is the forum that lets new people introduce themselves and say, "Hi". Your question would be best asked in the forum of the game that you are actually playing. As you did not say what game that was, and the Nexus hosts over 250 different titles, I cannot redirect you.
à
à
The Rabbit

Sorry when i think of Nexus I just think of skyrim, buth thanx for pointiong that out.

Edited by GasMaskGhoul, 14 December 2017 - 02:43 PM.


#5
GasMaskGhoul

GasMaskGhoul

    Newbie

  • Members
  • Pip
  • 13 posts

Well there a couple of ways I can think of, 1st would be an OnUpdate() event that fires every twelve hours or so and flips a script through one of two states, one an "on" state that disables the "fire out" campfire and enables a "fire lit" campfire, the other doing the opposite.
 
A more elegant solution would be an AI package thats attached to an NPC that makes them head to a marker next to the campfire surrounded by a trigger box that once the NPC enters it either enables/disables the lit/unlit campfire depending on time of day.

Thanks for the answer! I will try this out and tell you at somepoint if it works!





Also tagged with one or more of these keywords: campfire, help, newb, creation kit, resourses

Page loaded in: 1.044 seconds