Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- integer random_number = (integer)llFrand(20);
- new_number_type = random_number <= 10;
- llResetTime();
- llOwnerSay("I've just reset the time for you. The time is now: " + (string)cur_time);
- if (new_number_type != old_number_type) {
- if (random_number <= 10 ){
- next_stand_time = stand1_length;
- anim_to_play=llList2String(shopping_list,0);
- llOwnerSay("OwnerSay #5. I found a random number. random_number <= 2. The number is: " + (string)random_number);
- }
- else {
- next_stand_time = stand2_length;
- anim_to_play=llList2String(shopping_list,1);
- llOwnerSay("OwnerSay #5-2. I found a random number. random_number > 2. The number is: " + (string)random_number);
- }
- old_number_type = new_number_type;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement