Jump to content


Photo

Example Feature Request


  • Please log in to reply
3 replies to this topic

#1 Grim Squeaker

Grim Squeaker

    Fallen

  • Member
  • 1018 posts

Posted 15 October 2003 - 12:09 AM

Hey Wes,

For writing my Tree of Life dialogue for my Harvey NPC then I decided to use an INTERJECT instead of the using normal EXTEND way of doing it (as it seemed like an easier way of doing it) as I was under the impression that an INTERJECT could use any transitions that a CHAIN could. I was obviously wrong. I was wondering if you could make it possible to have PC responses at the end of an INTERJECT as it makes Tree of Life coding easier:
e.g. Currently WeiDU doesn't like the section in bold.

//Tree of Life
INTERJECT PLAYER1 33 GH#I#TreeofLife
== PLAYER1 IF ~IsValidForPartyDialog("G#Harvey")~ THEN ~Harvey, the enigmatic sorceror who travels with you; he is still as much a mystery as the day you first met him. Is he willing to fight and probably die in the coming battle?~
END
++ ~This isn't your fight, Harvey. It's mine. There's no need for you to risk your life...~ EXTERN HARVEYJ 22#RiskLife
++ ~Harvey, you don't have to fight Irenicus if you don't want. He is very powerful. Maybe even more powerful than you...~ EXTERN HARVEYJ 22#MorePowerful
++ ~Irenicus is a powerful mage. I'm going to need a more powerful sorceror to defeat him. You up for it?~ EXTERN HARVEYJ 22#UpForIt


APPEND HARVEYJ
IF ~~ THEN BEGIN 22#RiskLife
SAY ~No <CHARNAME>, I'm staying. I want to see how tough this bastard really is. And besides could I risk my life even if I wanted to?~ COPY_TRANS PLAYER1 33
END

IF ~~ THEN BEGIN 22#MorePowerful
SAY ~Oh come on! I am so much more powerful that this bastard, and I'm going to prove it. Lead on <CHARNAME>!~ COPY_TRANS PLAYER1 33
END

IF ~~ THEN BEGIN 22#UpForIt
SAY ~Hell yeah! I'm going to teach this bastard a thing or two about spellcasting. We'll take him down!~ COPY_TRANS PLAYER1 33
END
END


Thanks Wes.
"You alone can make my song take flight..."

#2 weimer

weimer
  • Member
  • 1569 posts

Posted 17 October 2003 - 06:09 PM

Added.

#3 Grim Squeaker

Grim Squeaker

    Fallen

  • Member
  • 1018 posts

Posted 18 October 2003 - 04:01 AM

weimer, on Oct 18 2003, 04:09 AM, said:

Added.

You rock.
"You alone can make my song take flight..."

#4 weimer

weimer
  • Member
  • 1569 posts

Posted 19 November 2003 - 04:44 PM

While I'm going through the messages here, I want to bring this forward was a fairly canonical example of what makes a good feature request.

GS explains what he is trying to do at a high level (Tree, Harvey, whatever), tells me what WeiDU feature he is currently using (INTERJECT), what he thinks it should be doing (transitions like CHAIN), what it currently chokes on (the section in bold) and what he wants the syntax to be (also the section in bold). The more of these things I understand the less time it takes me to code up new features.