Random dice

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1854
Joined: Sun May 15, 2011 8:47 am

Random dice

Post by enric » Thu Jul 25, 2013 10:28 am

Can we trust that this is really a random 1-6 (in MP)?

d1 = Rand (1,6);

pipfromslitherine
Site Admin
Site Admin
Posts: 8977
Joined: Wed Mar 23, 2005 10:35 pm

Re: Random dice

Post by pipfromslitherine » Thu Jul 25, 2013 3:32 pm

Yes. So long as you ensure MP safety (e.g. the same thing happens on all machines in the same order) then the results will be the same on each machine.

Cheers

Pip
follow me on Twitter here

Post Reply

Return to “Battle Academy : Modders Corner ”