okay, now i have another little question,
sorry if i'm asking to much, but it's the best way to learn stuff...
so i'm using the game FR,
and the thing i'm trying to do is,
by talking to a Sign with a yes/no question (this part is working already),
but the thing is that i want to add a sort of 'event' when choosing yes,
if yes, i want to let an item appear on a table close to me.
i know i have to work with a flag and such, but how can you let something be hidden first and appear later? what command is better to use in this case...
in the spoiler you can find what i already have.
#dyn 0x740000
#org @main
lock
faceplayer
checkflag 0x1003
if == jump @haveit
message @talk
callstd MSG_YESNO
compare LASTRESULT YES
if == jump @pushedyes
jump @pushedno
#org @haveit
message @gotit
callstd MSG_NORMAL
release
end
#org @pushedyes
setflag 0x1003
message @yes
callstd MSG_NORMAL
release
end
#org @pushedno
message @no
callstd MSG_NORMAL
release
end
#org @talk
= If you see this click yes to\nget a present
#org @gotit
= How's the present?\nPretty neat huh!!
#org @yes
= Go to the table!!
#org @no
= Oooohh, too bad, your loss.
Greetz,
ShaHar
sorry if i'm asking to much, but it's the best way to learn stuff...
so i'm using the game FR,
and the thing i'm trying to do is,
by talking to a Sign with a yes/no question (this part is working already),
but the thing is that i want to add a sort of 'event' when choosing yes,
if yes, i want to let an item appear on a table close to me.
i know i have to work with a flag and such, but how can you let something be hidden first and appear later? what command is better to use in this case...
in the spoiler you can find what i already have.
Spoiler:
#dyn 0x740000
#org @main
lock
faceplayer
checkflag 0x1003
if == jump @haveit
message @talk
callstd MSG_YESNO
compare LASTRESULT YES
if == jump @pushedyes
jump @pushedno
#org @haveit
message @gotit
callstd MSG_NORMAL
release
end
#org @pushedyes
setflag 0x1003
message @yes
callstd MSG_NORMAL
release
end
#org @pushedno
message @no
callstd MSG_NORMAL
release
end
#org @talk
= If you see this click yes to\nget a present
#org @gotit
= How's the present?\nPretty neat huh!!
#org @yes
= Go to the table!!
#org @no
= Oooohh, too bad, your loss.
Greetz,
ShaHar