Dice for move rooms

smoochy boys on tour

Mukai

LOMCN Veteran
Veteran
Feb 15, 2008
383
0
63
Tenerife
Hello! A doubt friends, it would be possible that by game dice move player for rooms

sample : Dice ( 15)
Move 15 rooms
Player in Room(3) -> move Room(18)
Is posible? Thx ;)
 

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
It is possible yes, I believe Idabiga did a bit of scripting on it - do a LOMCN search for playdice
 
Upvote 0

Mukai

LOMCN Veteran
Veteran
Feb 15, 2008
383
0
63
Tenerife
Thx chimera. is corrects this scripts?

[@main]
#IF
equal p9 0
#ACT
goto @main-1
BreakTimeRecall
break

#IF
equal p9 1
#ACT
goto @cube
BreakTimeRecall
break

#IF
equal p9 9
#ACT
goto @quit
BreakTimeRecall
break

[@main-1]
#IF
#ACT
mov p9 0
#SAY
Welcome to the First Room of the Casino.\
Are you feeling lucky <$USERNAME>?\
Anyway, Role the dice and lets get going!\\
<Role it Sister!/@pre_cube>

[@pre_cube]
#IF
checkitem gamblechip 1
#ACT
mov p9 1
take gamblechip 1
movr d0 6
inc d0 1
playdice 1 @cube
#SAY
Continue\ \
<Ok/@cube>
#ELSESAY
<$USERNAME>, You haven't any Chips!!\
Go get some if you want to gamble\\
<Silly Me/@Quit>
#ELSEACT
mov p9 9

[@Quit]
#IF
#ACT
map B011

[@cube]
#IF
#SAY
Hey, you roled a <$STR(D0)> \
You can now move <$STR(D0)> rooms forward.\\
<Sweet, lets move!/@next_cube>

[@next_cube]
#IF
equal d0 1
#ACT
goto @posi1
break

#IF
equal d0 2
#ACT
goto @posi2
break

#IF
equal d0 3
#ACT
goto @posi3
break

#IF
equal d0 4
#ACT
goto @posi4
break

#IF
equal d0 5
#ACT
goto @posi5
break

#IF
equal d0 6
#ACT
goto @posi6
break

[@Posi1]
#IF
#ACT
batchDelay 1
addbatch B102
batchmove

[@Posi2]
#IF
#ACT
batchDelay 1
addbatch B102
addbatch B103
batchmove

[@Posi3]
#IF
#ACT
batchDelay 1
addbatch B102
addbatch B103
addbatch B104
batchmove

[@Posi4]
#IF
#ACT
batchDelay 1
addbatch B102
addbatch B103
addbatch B104
addbatch B105
batchmove

[@Posi5]
#IF
#ACT
batchDelay 1
addbatch B102
addbatch B103
addbatch B104
addbatch B105
addbatch B106
batchmove

[@Posi6]
#IF
#ACT
batchDelay 1
addbatch B102
addbatch B103
addbatch B104
addbatch B105
addbatch B106
addbatch B107
batchmove
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
It does the same thing as mapmove, but this one will move you to every map in between for 1/4 second or something like that. Like the original Casino script in Mir 2.
 
Upvote 0