Combining scores using VBScript[Solved]

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Combining scores using VBScript[Solved]

Postby Peter Pauze » Tue Nov 15, 2005 11:33 pm

Hi. I'm trying to figure out a way to combine two or three running scores (a COURAGE score, a SKILL score, an HONESTY score, for example) in order to send the player to a certain frame. I've tried it like this, but it doesn't work:

if COURAGE = 10 + SKILL = 5 + HONESTY = 3 then Action.GoToFrame "C-10-SK-5-HON-3"

Seems like there must be a simple way to do this. Any suggestions?

Thanks!

Peter
Peter Pauze
Member
 
Posts: 22
Joined: Thu Sep 16, 2004 5:53 pm

Postby GM-Support » Tue Nov 15, 2005 11:58 pm

Code: Select all
if COURAGE = 10 and SKILL = 5 and HONESTY = 3 then Action.GoToFrame "C-10-SK-5-HON-3"


GM-Support
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

of course!

Postby Peter Pauze » Wed Nov 16, 2005 12:10 am

Of course, "and" not "+"

I feel like a dope. Thank you!
Peter Pauze
Member
 
Posts: 22
Joined: Thu Sep 16, 2004 5:53 pm


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests