Post new topic    
Liquid Metal Slime
Send private message
Either-or tag check performs neither 
 PostWed Dec 01, 2010 12:35 am
Send private message Reply with quote
I've got a section in my script where, based on the player's progress, the cutscene will progress in one of two different ways. If the player did poorly, a failure tag will be activated and a less-than-triumphant scene will play.
Despite the code being structured like so...
Code:
if(check tag(tag:failure==OFF)) then, begin
#stuff
end

if(check tag(tag:failure==ON)) then, begin
#near-identical stuff
end

Neither of these tag checks seem to return true, because nothing from either sub-script happens in-game. It just skips both of 'em and moves on. How is this possible, and is there any way to fix it?
Liquid Metal King Slime
Send private message
 
 PostWed Dec 01, 2010 1:10 am
Send private message Reply with quote
You just put your parenthesis in the wrong place. It should be like this:

Quote:

if(check tag(tag:failure)==OFF) then, begin
#stuff
end

if(check tag(tag:failure)==ON) then, begin
#near-identical stuff
end
Liquid Metal Slime
Send private message
 
 PostWed Dec 01, 2010 1:30 am
Send private message Reply with quote
what the
whoa
How did I not notice that.
Thanks so much!
Display posts from previous: