You must be logged in to post messages.
Please login or register

Scenario Design
Moderated by Yeebaagooon, TAG, nottud

Hop to:    
Welcome! You are not logged in. Please Login or Register.10 replies
Age of Mythology Heaven » Forums » Scenario Design » Quest Variables
Bottom
Topic Subject:Quest Variables
sweetname
Mortal
posted 12 July 2006 01:31 PM EDT (US)         
Is there a way to make the value of a quest variable match that of a "stat value" without using any editor upgrades?
AuthorReplies:
papaya
ಠ_ಠ
(id: X_MOSS)
posted 12 July 2006 02:17 PM EDT (US)     1 / 10       
Put this in your typetext.xml:

<Condition name="QV Stat Value">
<Param name="PlayerID" dispName="$$22534$$Fake Player" VarType="player">0</Param>
<Param name="StatID" dispName="$$23856$$Stat Type" VarType="kbstat">0</Param>
<Param name="Op" dispName="$$22297$$Operator" VarType="operator">==</Param>
<Param name="QVName" dispName="QV PointZero" VarType="string">PointZero</Param>
<Param name="Value" dispName="$$23859$$Value" VarType="long">0</Param>
<Expression>trGetStatValue(%PlayerID%, %StatID%) %Op% trQuestVarGet("%QVName%")+ %Value%</Expression>
</Condition>

It won't affect online play.


oh you can wait for what I can give
you know what I am so you know how I live
try to look proud but youíre not in the slightest
its happening now and itís always been like this.
Nodgene
Mortal
posted 12 July 2006 05:20 PM EDT (US)     2 / 10       
That looks sexy, I think I'll put it in for good measure

"That's your excuse for everything... Someone's either pregnant or a communist."
Protecting the public from the Christian Taliban since forever.
sweetname
Mortal
posted 12 July 2006 07:58 PM EDT (US)     3 / 10       
Papaya, when you say "It won't affect online play" do you mean that it won't work if I use it in a multiplayer scenario or do you mean it won't interfere with normal online play?
papaya
ಠ_ಠ
(id: X_MOSS)
posted 12 July 2006 08:05 PM EDT (US)     4 / 10       
It will work in a multiplayer scenario. I just said that because some people don't want to modify their game files for fear of going OOS online.

oh you can wait for what I can give
you know what I am so you know how I live
try to look proud but youíre not in the slightest
its happening now and itís always been like this.
sweetname
Mortal
posted 12 July 2006 08:21 PM EDT (US)     5 / 10       
@Papaya

I can't seem to get it to work, but then I've never edited this file before. How exactly do I go about "adding" what you provided?

Also, why do you have it labeled as a condition? I would assume it should be an effect seeing as how it assigns a value, instead of comparing values for example.

papaya
ಠ_ಠ
(id: X_MOSS)
posted 12 July 2006 08:38 PM EDT (US)     6 / 10       
Actually, all I did was open up my typetext.xml, any copyed it to here. What I would suggest doing is downloading reyks SNXT. It comes with this trigger, and many more useful ones. More importantly, you don't have to manually edit any files IIRC.

oh you can wait for what I can give
you know what I am so you know how I live
try to look proud but youíre not in the slightest
its happening now and itís always been like this.
sweetname
Mortal
posted 12 July 2006 09:58 PM EDT (US)     7 / 10       
Okay, what the hell, I'm getting pissed.

For some reason I can't seem to get it to work. It didn't work when I manually inserted it into the typetext.xml and it didn't work when I downloaded and installed SNXT. What am I doing wrong?

papaya
ಠ_ಠ
(id: X_MOSS)
posted 12 July 2006 10:07 PM EDT (US)     8 / 10       
You do have Titans, right?

oh you can wait for what I can give
you know what I am so you know how I live
try to look proud but youíre not in the slightest
its happening now and itís always been like this.
sweetname
Mortal
posted 13 July 2006 05:20 PM EDT (US)     9 / 10       
Yes, yes I do.
Mephiles
Mortal
(id: Titan602)
posted 14 July 2006 11:05 AM EDT (US)     10 / 10       
It needs to be an XMB file doesn't it?

MEPH
[Insert amazingly witty signature here.]

Me and Yeebaagooon's scenarios | Download The Corruptor
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Mythology Heaven | HeavenGames