CDS:TableWithRoll

From Twin Rose Wiki

Jump to: navigation, search

RollTable

An RPGScript function that returns the result of a pre-defined table, using a roll specified.

Usage

TableWithRoll("<name of table>", <roll>);

Examples

return TableWithRoll("White Horse Inn Events", 33);
return "You see ", TableWithRoll("Flowers", RollDice(2, 6)), " growing here.";
This page is a Stub, please expand it if you have any relevant details.
Personal tools