Jump to content

Problems about my plugins


IxCarole

Recommended Posts

I set "if GamedaysPassed == 61" as the condition. But I don't know how many days passed already. I use wait or sleep to test it. But it just waste my time. How should I do...?

 

I don't want to modify exist game data and save it to major plugin. I thought use another plugin is a probable way. First, I add new notes to major plugin. Then set a terminal in plugin 2. The terminal use major plugin's notes. After drop the terminal to the cell. I start to test it. But I can't see my addition notes.

 

My project B is create notes and terminal tin major plugin. Drop it to the cell and save it as plugin 2. But during this test, I can't see the terminal...

 

I want to drop new characters to the cell. Now it force the same situation.

 

Does anyone have better idea. I think I am really stupid...

Link to comment
Share on other sites

The part about the terminals made no sense whatsoever, so I'm just going to talk about GamedaysPassed

 

You can type "show gamedayspassed" in the console and it'll show the amount of days passed.

GamedaysPassed == 61 means the condition returns true only one day, day 61. If you're looking for a condition that returns true after 61 or more days have passed use >= instead of ==

Link to comment
Share on other sites

Understood, it's amazing. I thought the day of escape Vault 101 is the first day. I'm wrong. Does any script effect can turn GameDaysPassed to 0?

 

Nope, GamedaysPassed can''t be changed, instead when counting days this approach should be used:

 

-make a new quest

-make a script like this:

scn InsertQuestScriptNameHere

short startday
short timepassed

begin gamemode
set timepassed to (gamedayspassed - startday)
end

 

-You will of course set your startday variable somewhere else, for example when you exit vault 101.

set YourQuestName.startday to gamedayspassed

-Now you will always know how many days have passed since you left 101, just use YourQuestName.timepassed in your condition.

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