• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

XSE Scripting Tutorial

Status
Not open for further replies.
This is a really short tut.
 
Something is wrong. I can edit scripts that are already in the game but I can't add my own. It compiles successfuly but doesn't open the right script in advance map.
 
I need help =/

I followed the tutorial and then I clicked Compile and this message appeared, "Too less parameters on line 6. The correct number is 2."

What does that mean, please help!
 
okay i must be doing something wrong here.

so i'll edit one script like say a signpost and compile it. than i'll go and edit a different signpost and compile it. BUT, if i go back to recheck on the first script i edit, it changes by itself. it becomes a mixture of both scripts that i've edit...

what am i doing wrong??
 
okay i must be doing something wrong here.

so i'll edit one script like say a signpost and compile it. than i'll go and edit a different signpost and compile it. BUT, if i go back to recheck on the first script i edit, it changes by itself. it becomes a mixture of both scripts that i've edit...

what am i doing wrong??

Use a Free Space Finder.
Compile script to a free space.
and it will work.

I am assuming your editing signs that are already in game.
Dont.
Make a new one and get the offset from FSF.
Then compile. Thats how. Try it.
 
@AL_91
Seriously, did you read the thread, or just post, type in the offset XSE gave you into the "Script offset" field (by default it will have $000000 in it) type it like this, say the offset was 800000, then it would say $800000.

Ok thanks I must of skimed over that part (Sometimes I read too quickly and miss some parts of the tutorial)
 
Use a Free Space Finder.
Compile script to a free space.
and it will work.

I am assuming your editing signs that are already in game.
Dont.
Make a new one and get the offset from FSF.
Then compile. Thats how. Try it.
hey thanks for the help! i will try it out and see if it'll work =]
 
Too many posts!

Ok so i want to start scripting and the tut at beggining seems helpful, but can someone lock any important posts to the top, because theres a lot here to read and i dont want to miss anything too good! xD
 
I need help =/

I followed the tutorial and then I clicked Compile and this message appeared, "Too less parameters on line 6. The correct number is 2."

What does that mean, please help!
Can't help unless you post your script.
 
Why does it send me messae saying
no #dirrectives were found cannot compile
 
I followed the tutorial and my script is:

#Dynamic 0x800000

#ORG @Main
Lock
FacePlayer
Message @Speak
BoxSet 0x6
Release
End
#ORG @Speak
= This is a message!

A message keeps popping up saying "Too less parameters online 6. The correct number is 2." What does that mean?
 
I followed the tutorial and my script is:

#Dynamic 0x800000

#ORG @Main
Lock
FacePlayer
Message @Speak
BoxSet 0x6
Release
End
#ORG @Speak
= This is a message!

A message keeps popping up saying "Too less parameters online 6. The correct number is 2." What does that mean?
Fixed
#Dynamic 0x800000

#ORG @Main
Lock
FacePlayer
Msgbox @Speak 0x6
Release
End

#ORG @Speak
= This is a message!
It is now Msgboc instead of message then boxset.
 
It is now Msgboc instead of message then boxset.

Actually, it is
msgbox
OR
message

Both work fine, the new part about it is the last byte.
That is boxset.

Instead of;
message @lol
boxset 0x6

now you have to type;
message @lol 0x6

You see, not much of a difference.
Just clarifying that both msgbox and message work... of course, the initial question would not have been asked if people were smart enough to read the guide that is INCLUDED WITH XSE, it tells you all of the changes since the update!
 
So I tried it and nwo it says Error 13 "Type Dismatch" on line 6. Missing dynamic label.
My script is

#Dynamic 0x800000

#ORG @Main
Lock
FacePlayer
message @lol 0x6
Release
End

#ORG @Speak
= This is a message!

And on line 6 I have = message @lol 0x6. Any help for that? P.S. The guide doesnt tell you how to deal with error codes.
 
not sure wat I am doing wrong. when i put it on a script event not a person event, i just walk right over it...
 
I am trying to make a person give you money, but once i compile the script, then i exit out and go back to it, the script is blank. I think there might be a problem with my script, can someone help me?

'---------------
#org 0x000000
lock
faceplayer
msgbox 0x000000 MSG_NORMAL '"Here have some money."
givemoney 00002710 MSG_OBTAIN
release
end

'---------
' Strings
'---------
#org 0x000000
= Here have some money.




also how do i tell how much money the person is giving?
 
Status
Not open for further replies.
Back
Top