D
Decapitat0r
Guest
Yes i have searched, the only thing i could find is
http://www.thehelper.net/forums/showthread.php?t=96979&highlight=Roll
wich doesnt work for me, atm i got:
(the last line, the action one, reads:
Display to all players for 3.00 seconds the text: ((Name of (Triggering player)) + ( has rolled a + (String((Random integer number between 1 and 10)))))
perhaps if i ask realy realy niceley could someone make me a map with this trigger in it *winks*
?
http://www.thehelper.net/forums/showthread.php?t=96979&highlight=Roll
Untitled Trigger 001
Events
Player - Player 1 (Red) types a chat message containing -roll as An exact match
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + ( has rolled a + (String((Random integer number between 1 and 10)))))
Events
Player - Player 1 (Red) types a chat message containing -roll as An exact match
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + ( has rolled a + (String((Random integer number between 1 and 10)))))
function Trig_Roll_Copy_Actions takes nothing returns nothing
call DisplayTimedTextToForce( GetPlayersAll(), 3.00, "TRIGSTR_499" )
endfunction
//===========================================================================
function InitTrig_Roll_Copy takes nothing returns nothing
set gg_trg_Roll_Copy = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(0), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(1), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(2), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(3), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(4), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(5), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(6), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(7), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(8), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(9), "-roll", true )
call TriggerAddAction( gg_trg_Roll_Copy, function Trig_Roll_Copy_Actions )
endfunction
call DisplayTimedTextToForce( GetPlayersAll(), 3.00, "TRIGSTR_499" )
endfunction
//===========================================================================
function InitTrig_Roll_Copy takes nothing returns nothing
set gg_trg_Roll_Copy = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(0), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(1), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(2), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(3), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(4), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(5), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(6), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(7), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(8), "-roll", true )
call TriggerRegisterPlayerChatEvent( gg_trg_Roll_Copy, Player(9), "-roll", true )
call TriggerAddAction( gg_trg_Roll_Copy, function Trig_Roll_Copy_Actions )
endfunction
![RollCommand.jpg](/proxy.php?image=http%3A%2F%2Fi126.photobucket.com%2Falbums%2Fp115%2FScoopien%2FRollCommand.jpg&hash=0352f1f1bd8bcb99f04ea5830a0f7ec9)
(the last line, the action one, reads:
Display to all players for 3.00 seconds the text: ((Name of (Triggering player)) + ( has rolled a + (String((Random integer number between 1 and 10)))))
perhaps if i ask realy realy niceley could someone make me a map with this trigger in it *winks*