cakewitharse
11-30-2004, 12:40 PM
Quick question about basic scripting...
If I'm attempting to have a script match what variables I put in, in the syntax... how do I do so? For example, if I have a script called .smile, but I had two variables (manner & target), how do I match the script to my variables?
I don't feel like I can explain myself well, since I have to experience scripting, yet; so, I'll show you what I mean.
.smile corner Pubert
Would result in inputting "smile towards Pubert, lifting only the corner of his mouth." into the game.
.smile fluster Beaumont
Would result in inputting "smile at Beaumont, clearly flustered by their comment." into the game.
Etc, etc. I know very little, and I've begun working on it, but can't seem to get very far. I'm matching up the %1 and %2, and I've started setting a few Goto's... but I'd greatly appreciate a bit of knowledge, if somebody cares to share.
I'm obviously a :noob:
If I'm attempting to have a script match what variables I put in, in the syntax... how do I do so? For example, if I have a script called .smile, but I had two variables (manner & target), how do I match the script to my variables?
I don't feel like I can explain myself well, since I have to experience scripting, yet; so, I'll show you what I mean.
.smile corner Pubert
Would result in inputting "smile towards Pubert, lifting only the corner of his mouth." into the game.
.smile fluster Beaumont
Would result in inputting "smile at Beaumont, clearly flustered by their comment." into the game.
Etc, etc. I know very little, and I've begun working on it, but can't seem to get very far. I'm matching up the %1 and %2, and I've started setting a few Goto's... but I'd greatly appreciate a bit of knowledge, if somebody cares to share.
I'm obviously a :noob: