- 13
- Posts
- 10
- Years
- Age 23
- Florida
- Seen May 25, 2014
Hello, for some reason I am having problems opening a script in Advanced Map. It keeps saying "No script editor defnied" even though I use XSE 1.1.1. Could anyone help me?
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @talk1 0x6
release
end
#org @talk1
= Hey there!\nHow are you?\pWhat's your name?\p\v\h01?\nThat's a cool name!
'-----------------------
#org 0x800000
lock
faceplayer
msgbox 0x880000B '"Hey there!\nHow are you?\pWhat's yo..."
release
end
'---------
' Strings
'---------
#org 0x80000B
= Hey there!\nHow are you?\pWhat's your name?\p[player]?\nThat's a cool name!
When I run the script nothing happens, it just allows me to continue. When I talk to the girl in game that the message script was given to, it makes the sound as if the message box had appeared. That's about it.
There appears to be a parameter missing for the msgbox command. As for why that's happened, I'm not sure. In any case, you can shorten this script to this, if it's just a simple NPC who talks:Code:'----------------------- #org 0x800000 lock faceplayer msgbox 0x880000B '"Hey there!\nHow are you?\pWhat's yo..." release end '--------- ' Strings '--------- #org 0x80000B = Hey there!\nHow are you?\pWhat's your name?\p[player]?\nThat's a cool name!
#dynamic 0x800000
#org @start
msgbox @string1 MSG_FACE
end
#org @string1
= Hey there!\nHow are you?\pWhat's your name?\p[player]?\nThat's a cool name!