...
acp — Set actor properties by actor number Wiki Markup
{alias:acp}
Syntax
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
acp [* | id actorid] [del | opa | vis | ambient | diffuse | specular | power] |
...
No Format | ||||
---|---|---|---|---|
| ||||
z ; # erase the screen
spe bgc whi ; # specify background color white
win 450000 460000 6450000 6460000 1000 3000 ; # specify the grid window
mak ran 11 ; # make 11 random points
grp 100 100 ; # grid with 100 x 100 in rows and columns.
col red ; # set red color
dis ; # display in solid
set actor_id [gvar actorid]
mak ran 11 ; # make 11 random points
grp 100 100 ; # grid with 100 x 100 in rows and columns.
col gre ; # set green color
dis ; # display in solid
acp id $actor_id opa .4 ; # set opacity .4 on the first grid
|
...