QuoteYes! Finally! A game that implements immersive allergy mechanics! Now everyone will understand the misery hayfever causes!
Tags: Allergy,random:Weakened:Damage|None|6
Welcome to the new Sinister Design forums!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteYes! Finally! A game that implements immersive allergy mechanics! Now everyone will understand the misery hayfever causes!
Tags: Allergy,random:Weakened:Damage|None|6
204 | gotLevel = true; gotPersistentDialog = true; gotAttacks = true; gotAOEPatterns = true; gotCharClasses = true; gotObjClasses = true; gotItemClasses = true; gotCharNames = true; gotTileData = 4 / 4; gotTileBMPData = false
Quote from: Jeth on October 25, 2015, 12:48:02 PMActually, most of it is an issue with Flash itself. From what it sounds like the only option option left would be to recreate the game in a language without the issue.
... maybe a memory leak or a function that is supposed to empty memory, but does not work correctly .?.
Quote from: CraigStern on September 29, 2015, 12:06:58 PMI tested it out with the block below, but no dice.
For string stats with OnStat, try using the string you want to match against in the operation parameter--see if that works. (In theory, it should.)
<Dialog branch="0" r="-1">
OnStat/-ANY-,Direction,Up,/-FNAME-/Wait... what am I doing? I need to face forward!
<Action>SetStat/-FNAME-,Direction,=,0,Right</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
<Dialog branch="0" r="-1">
OnStat/-ANY-,Max Energy,=,1//A character has maximum energy! Time to adjust their stats as needed!-N-[This currently just switches to a named branch based on the triggering class.]
<Action>SetStringByStat/class,-FNAME-,Class</Action>
<Action>GoTo/BNAME[-STR:class-Setup]</Action>
<Action>SetStat/-FNAME-,Max Energy,=,0</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
<Dialog branch="1" r="-1" bname="PawnSetup">
OnStat/-ANY-,Max Energy,=,1//A Pawn has maximum energy! Which team is it on?-N-
It is on team -VAL:temp1-.
<Action>SetValByStat/temp1,=,-FNAME-,Army</Action>
<Action>SetStat/-FNAME-,Max Energy,=,0</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
<Dialog branch="2" r="-1" bname="RookSetup">
OnStat/-ANY-,Max Energy,=,1//A Rook has maximum energy! Which team is it on?-N-
It is on team -VAL:temp1-.
<Action>SetValByStat/temp1,=,-FNAME-,Army</Action>
<Action>SetStat/-FNAME-,Max Energy,=,0</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
<Dialog branch="3" r="-1" bname="KnightSetup">
OnStat/-ANY-,Max Energy,=,1//A Knight has maximum energy! Which team is it on?-N-
It is on team -VAL:temp1-.
<Action>SetValByStat/temp1,=,-FNAME-,Army</Action>
<Action>SetStat/-FNAME-,Max Energy,=,0</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
<Dialog branch="4" r="-1" bname="BishopSetup">
OnStat/-ANY-,Max Energy,=,1//A Bishop has maximum energy! Which team is it on?-N-
It is on team -VAL:temp1-.
<Action>SetValByStat/temp1,=,-FNAME-,Army</Action>
<Action>SetStat/-FNAME-,Max Energy,=,0</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
<Dialog branch="5" r="-1" bname="QueenSetup">
OnStat/-ANY-,Max Energy,=,1//A Queen has maximum energy! Which team is it on?-N-
It is on team -VAL:temp1-.
<Action>SetValByStat/temp1,=,-FNAME-,Army</Action>
<Action>SetStat/-FNAME-,Max Energy,=,0</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
<Dialog branch="6" r="-1" bname="KingSetup">
OnStat/-ANY-,Max Energy,=,1//A King has maximum energy! Which team is it on?-N-
It is on team -VAL:temp1-.
<Action>SetValByStat/temp1,=,-FNAME-,Army</Action>
<Action>ChangeCondition/Protect Char,-VAL:temp1-,-FNAME-</Action>
<Action>SetStat/-FNAME-,Max Energy,=,0</Action>
<Reply>.../EndConv/</Reply>
</Dialog>
QuoteSource
- due to my apparent inability to make screen scaling work properly with all displays, I'm taking it out of the game. Sorry, gang--my next game will be in a framework that properly supports fixed display resolutions. (Which is to say: not Flash.)