-
Notifications
You must be signed in to change notification settings - Fork 0
Commands Manual
This page will document how to use all the commands in XVN.
Creates a message, displaying the "msg" argument on the screen. e.g say "Not done yet!"
Changes the background to a certain file. GIF format only, currently. e.g setbg "bg3.gif"
Changes the character on screen to a certain file. PNG format only, currently. e.g setchar "xyaou_smile.png"
Pauses execution of messages for an "amount" number of seconds. e.g wait 1
.
Changes the character on-screen and created a small looped animation.
Images for the animation must follow the same filename, but with a number in the end, e.g xyaou_talk0.png
, xyaou_talk1.png
, xyaou_talk2.png
. In that example, the basefilename argument must be ``xyaou_talk.png` (the script will pick up the right frames from that).
The "speed" argument is the amount of seconds between each frame, and "loops" is the number of loops that the animation will play.
Example: setcharanimated "xyou_talk.png" "0.12" "20"
will play the files xyou_talk0.png
, xyou_talk1.png
and xyou_talk2.png
with 0.12 seconds between each frame and loop 20 times (or until the player clicks on the screen).
Signalizes the end of a script. e.g end