Bes
Posts: 5422
|
in PM using this simple code
(This post was last modified: 17.07.2016 21:20 by Bes.)
|
|
17.07.2016 21:16 |
|
gamecreator
Posts: 7107
|
|
17.07.2016 21:23 |
|
Valery
Posts: 2196
|
In fact I have 3 random values to get in a row (v2-v4), so I thought time based will give same values.
|
|
17.07.2016 22:05 |
|
gamecreator
Posts: 7107
|
|
17.07.2016 23:07 |
|
Valery
Posts: 2196
|
Not sure how to use your code: I want random level 8 monster (150-158)
!!VRv1:S0 T2147483647 &2147483647 R0/v1; set random seed to current time
I am lost, don't understand the bit part
(This post was last modified: 17.07.2016 23:37 by Valery.)
|
|
17.07.2016 23:27 |
|
gamecreator
Posts: 7107
|
|
18.07.2016 00:13 |
|
Valery
Posts: 2196
|
ah now makes sense. Thanks both.
I put it in a timer and it runs once a week, before randomizer. When you said "one time", means really one time, in PI or so?
(This post was last modified: 18.07.2016 01:43 by Valery.)
|
|
18.07.2016 01:42 |
|
gamecreator
Posts: 7107
|
|
18.07.2016 01:51 |
|
Valery
Posts: 2196
|
But if it is not saved then I need to recall it in GM, like UN hacks? Will be executed quite often then.
|
|
18.07.2016 02:34 |
|
gamecreator
Posts: 7107
|
|
18.07.2016 03:13 |
|
Valery
Posts: 2196
|
No, as quick saves mod replace previous quick save with the new one, so I have only a maximum of two saves daily, the automatic and the manual.
|
|
18.07.2016 03:31 |
|
gamecreator
Posts: 7107
|
|
18.07.2016 03:41 |
|
Valery
Posts: 2196
|
Right now I only put it in a weekly timer, no on GM. So far there are no problems and random values are really random, I like it.
|
|
18.07.2016 04:13 |
|
Sedman7
Posts: 22
|
катастрофа, сломался рандом
Code:
ZVSE
!#TM20:S2/999/1/1;
!?TM20;
!!VRy1:S0;
!!VRy1:R100;
!!IF:M^%Y1^;
всегда получаю одно и тоже значение - 36
всё работало хорошо, рандом работал как надо, создавал карту, добавлял скрипты и в один день заметил что рандом выдаёт одно и тоже число, в чем может быть причина?
ради эксперимента:
- удалил с карты все скрипты, оставил только этот, один, и всё равно не работает
- создал новую карту, пустую (2 замка только синий и красный), вставил туда этот скрипт, всё нормально работает
(This post was last modified: 10.04.2018 02:52 by Sedman7.)
|
|
10.04.2018 02:16 |
|