Scripting problems.

Started by SteveGamer68, March 05, 2017, 06:49:51 AM

Previous topic - Next topic

SteveGamer68

I'm beginners of internal scripting so i have a lot of problems but the most common problem is when i use more than one command i use the long way but when i test, the game will freeze or just saying the command in gray instead of running the command.
Code:
Code (script1) Select
(Insert dialog here)
iftrinkets(0,script2)

Code (script2) Select
say(3)
gamestate(200)
gotoroom(1,0)
text(1,0,0,4)
say(2)
endtext
loadscript(stop)
text(1,0,0,4)

moth ✨

so you're trying to use this script right?
Code (script2) Select
say(3)
gamestate(200)
gotoroom(1,0)
text(1,0,0,4)
say(2)
endtext
loadscript(stop)
text(1,0,0,4)



Code (script2) Select

say(3)
gamestate(200)
gotoroom(1,0)
text(1,0,0,4)
say(2)
endtext
loadscript(stop)
text(1,0,0,4)


you need to use this one. notice the difference? all internal scripts need to have exactly one line after them or they won't work.
hopefully this helps

SteveGamer68

I have exactly one blank line