From cb25600e4ccf9c2c14f6eb34b36cf4ad28cf6132 Mon Sep 17 00:00:00 2001 From: xantara Date: Tue, 14 Aug 2012 21:45:03 +0000 Subject: ` Updated script command documentation for setdragon and setmounting. Added checkdragon. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16634 54d463be-8e91-2dee-dedb-b68131a5f0ec --- doc/script_commands.txt | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 4f7226215..e3949afde 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -3465,12 +3465,20 @@ bird and 0 if they aren't. --------------------------------------- -*setdragon {}; +*setdragon {}; +*checkdragon() -If is 0 this command will remove the mount from the character. -Otherwise it gives the invoking character a dragon mount, which is -checked using checkriding(). -Note: the character needs to have the skill KN_RIDING to gain a mount +The 'setdragon' function toggles mounting a dragon for the invoking character. +It will return 1 if successful, 0 otherwise. + +If the character can mount a dragon, the options are: + 1 - Green Dragon (default when omitted) + 2 - Brown Dragon + 3 - Gray Dragon + 4 - Blue Dragon + 5 - Red Dragon + +Note: the character must be a Rune Knight and have the skill RK_DRAGONTRAINING to gain a mount The accompanying function will return 1 if the invoking character is riding a dragon and 0 if they aren't. @@ -3491,11 +3499,13 @@ Mado and 0 if they don't. *setmounting; *ismounting() -Gives the invoking character a cash mount. Unlike the other mount -commands, it cannot be used to remove a cash mount. +The 'setmounting' function toggles cash mount for the invoking character. +It will return 1 if successful, 0 otherwise. + +Note: Character must not be mounting a non-cash mount (eg. dragon, peco, wug, etc.) The accompanying function will return 1 if the invoking character has a -mount and 0 if they don't. +cash mount and 0 if they don't. --------------------------------------- -- cgit v1.2.3-60-g2f50