DataSlotLoader changes and OpenPage Introduction
This commit is contained in:
parent
5a0c38b6aa
commit
4ee7ca2093
@ -8,15 +8,21 @@
|
|||||||
<DataStructure>characterdata</DataStructure>
|
<DataStructure>characterdata</DataStructure>
|
||||||
</DataSlot>
|
</DataSlot>
|
||||||
</Data>
|
</Data>
|
||||||
<StartPage>start</StartPage>
|
<StartPage>"start"</StartPage>
|
||||||
<Pages>
|
<Pages>
|
||||||
<Page Name="start">
|
<Page Name="start">
|
||||||
<Content>
|
<Content>
|
||||||
<DataSlotLoader>
|
<DataSlotLoader>
|
||||||
<DataSlot>[data.character]</DataSlot>
|
<DataSlot>[data.character]</DataSlot><!-- Maybe we should change this to "data.character" or "character" and let it be thrown into the execution -->
|
||||||
<Create>
|
<Create>
|
||||||
<Rule>[rule.createcharacter]</Rule>
|
<Rule>[rule.createcharacter]</Rule>
|
||||||
</Create>
|
</Create>
|
||||||
|
<!--
|
||||||
|
<OnPreLoad/>
|
||||||
|
<OnPostLoad/>
|
||||||
|
<OnPreCreate/>
|
||||||
|
<OnPostCreate/>
|
||||||
|
-->
|
||||||
</DataSlotLoader>
|
</DataSlotLoader>
|
||||||
<Label>
|
<Label>
|
||||||
<Text>"Character Name: "</Text>
|
<Text>"Character Name: "</Text>
|
||||||
@ -26,14 +32,26 @@
|
|||||||
</Label>
|
</Label>
|
||||||
<Button>
|
<Button>
|
||||||
<Text>"Press me"</Text>
|
<Text>"Press me"</Text>
|
||||||
|
<OnClick>
|
||||||
<Actions>
|
<Actions>
|
||||||
<Action>
|
<Action>
|
||||||
<Do>"Somename"</Do>
|
<Do>"Somename"</Do>
|
||||||
<Output>[data.character.definition.name]</Output>
|
<Output>[data.character.definition.name]</Output>
|
||||||
</Action>
|
</Action>
|
||||||
|
<OpenPage>
|
||||||
|
<Page>"newchar"</Page>
|
||||||
|
</OpenPage>
|
||||||
</Actions>
|
</Actions>
|
||||||
|
</OnClick>
|
||||||
</Button>
|
</Button>
|
||||||
</Content>
|
</Content>
|
||||||
|
<OnOpen/>
|
||||||
|
<OnClose/>
|
||||||
|
</Page>
|
||||||
|
<Page Name="newchar">
|
||||||
|
<Content>
|
||||||
|
<Label>"This is the new Character Page!"</Label>
|
||||||
|
</Content>
|
||||||
</Page>
|
</Page>
|
||||||
</Pages>
|
</Pages>
|
||||||
</Tool>
|
</Tool>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user