G Général

[PG] Script: RandomCube Version 1.0b

[PG] Script: RandomCube
Détails
Caractéristiques
Contenu
Avis

~~ Welcome to the Pantera Polnocy's Gadgets store ~~

This item is a simple example of using functions llFrand and llSetLinkPrimitiveParamsFast to show how simple it may be to create a... cube. Which will adopt color values, light radius and intensity, glow level and alpha value at totally random rates! Quite nice looking, too.

Script and cube mod and copy. Happy learning.

Version 1.0b: Changed llSetTimerEvent from 0.5 to 0.1 to show llSetLinkPrimitiveParamsFast speed advantage over llSetPrimitiveParams and other separate functions (llSetColor, llSetAlpha etc.) more visibly.

Like it? Leave a review! ^^

---

Tip: You want to have more cubes blinking like this one - at once - and still work with only one script, saving region resources? Link them together and change:

llSetLinkPrimitiveParamsFast(LINK_THIS, [

to:

llSetLinkPrimitiveParamsFast(LINK_SET, [

  • Color, glow, light, alpha. All random.
  • Cube - six walls in total!
  • Faster scripts = less lag = more love from other people
Note moyenne : étoile pleine étoile pleine étoile pleine étoile pleine étoile pleine
  • 5 étoile :
  • 4 étoile :
  • 3 étoile :
  • 2 étoile :
  • 1 étoile :
Nice!
étoile pleine étoile pleine étoile pleine étoile pleine étoile pleine Publié le 19/3/2013 de Nescolet

Thank you for the gift :)

Cet avis vous a-t-il été utile ?