安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题




http://psteamcommunity.yuanyoumao.com/workshop/discussions/-1/864980153252284983/?appid=234650
But the game is loading the Variable just once eh? If i check an email, and its marked as "checked" the counter dont decrease. Its still 4. (i was using "Add (-10) to Story.unchecked Emails)". The internal Variable works, but it displays everytime the same value.
Easier Example: Have an example.bankAccount variable integer on 10.
Going to a bank device, show "accounts current".
Get Money, using:
Doing the same again wont work, because the players account is decreased off 10 Nuyen. But if i get a new Account Current, it still says "You have: 10¥".
It should be able to update. I use Text Expansion to track numerous Scene (int) Variables in my UGC, Shadowrun Returns Companion.
I use (int) Variables to track the players Attributes and then use Text Expansion in dialogs to display the current value of any given Attribute.
It's a bit trickier with converting Attributes to (int) variables, I have to use Triggers for each Attribute that set the current (int) variable to the value of the base Attribute. Each time I allow the player to modify an Attribute, I have to fire the Trigger that recalculates the (int) variable. But I can then use a simple Text Expansion to display the given variable, say AttributeBody as an example.
How do you have your (int) variable initially set?
Are you using Triggers from Scene/Story data or are you using built in dialog triggers?
How many different triggers/dialogs modify your (int) variable?
If you set your variable to say 4 for Unread Emails.
Then when each email is selected you modify the variable with Do: Add (-1) to (int) variable.
You should be able to have a dialog option that calls $(scene.variable) to display that current value.
For most of mine, I'm using the embedded dialog triggers. I use "Action when this Link is chosen" and then "Add +1 to variable" and then anytime I use Text Expansion to call that variable it shows the correct, current value.
Ahm its currently a whole Online-Banking System where everything works fine. Excapt the Value on the Account Current.
Given Text its:
But what ever i transact from this account in future, the value dont change. Not if i leave the computer-terminal and re-check and not inside the Dialog even not if i give the value out as a "diplay Text over Actor"-Text.
If i make a "if the value of $(story.playerAccount) is greater or equal" condition, it shows me that the value is correct decreased.
The player is able to transfer Money from the Credstick to the Account with
IF (EVENTisFIRE)
DO: $MyBridgeVariable is equal to $MyStoryVariable.
Then, when ever you want to see the current state of the variable, you fire the event and give out the $MyBridgeVariable.