@mount

Brynner

Community Contributors
Messages
563
Points
0
Github
https://github.com/bgamez23
it would be nice if we can use all the dragons. i hope this can be applied here just like on 3ceam.

@mount 1 for regular dragon

@mount 2 for black dragon

@mount 3 for white dragon

@mount 4 for blue dragon

@mount 5 for red dragon

 
we already have coloured dragon support via *setdragon (script command, I coded it for RREmu about 2 years ago).

Code:
/** * setdragon({optional Color}) returns 1 on success or 0 otherwise * - Toggles the dragon on a RK if he can mount; * @param Color - when not provided uses the green dragon; * - 1 : Green Dragon * - 2 : Brown Dragon * - 3 : Gray Dragon * - 4 : Blue Dragon * - 5 : Red Dragon **/
but you have a point o-o would be interesting if @mount supported it as well
 
bindatcmd + setdragon may be satisfying requirements
 

Code:
-    script    test123    -1,{end;OnInit:    bindatcmd "mount", strnpcinfo(0)+"::OnColorDragon";    end;OnColorDragon:    .@colrid = atoi( .@atcmd_parameters$[0] );    if(eaclass()&EAJ_THIRDMASK == EAJ_RUNE_KNIGHT){        if ( .@colrid <=1 || .@colrid >5 || Upper==2 )            setdragon 1;            else            setdragon .@colrid;    } else        atcommand "@mount";    end;}
 
Last edited by a moderator:
Back
Top