-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
documentation/docs/adapters/BasicAdapter/entries/fact/in_cinematic_fact.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import * as fields from '@site/src/components/EntryField'; | ||
import Admonition from '@theme/Admonition'; | ||
import Link from '@docusaurus/Link'; | ||
|
||
# In Cinematic Fact | ||
|
||
The 'In Cinematic Fact' is a fact that returns 1 if the player has an active cinematic, and 0 if not. | ||
|
||
If no cinematic is referenced, it will filter based on if any cinematic is active. | ||
|
||
<fields.ReadonlyFactInfo /> | ||
|
||
## How could this be used? | ||
With this fact, it is possible to make an entry only take action if the player does not have an active cinematic. | ||
|
||
|
||
## Fields | ||
|
||
<fields.CommentField /> | ||
<fields.EntryField name='Group' required> | ||
</fields.EntryField> | ||
<fields.EntryField name='Cinematic' required> | ||
When not set it will filter based on if any cinematic is active. | ||
</fields.EntryField> |