In the command summaries that follow, when a parameter is in CAPITAL_LETTERS, this means that the parameter is a flag that is either zero or one, or possibly a range such as zero to four. If the latter is the case, the range is specified in square brackets.
If the parameter is in double quotes, then the parameter is a string.
All other parameters are numeric. If F/x needs a floating point number, then that's how the number will be treated. If F/x needs an integer, any fractional part of the number will be discarded. So 1.5 is the same as 1 for an integer number, and 1 is the same as 1.0 for a floating point number.
a=AURA(width,connect,radiate,seed,spokes,spoke variance,rings,ring variance,innerfade,r,g,b,outerfade,ro,go,bo)
See the Operator Documentation
a=BANG(SCROLL
[0-4], peaking, T-variance, min, max, detail, resolution, transparency, seed, depth, turb, CLASS
[0-2], lo-thresh, hi-thresh, MAX_DYN, INVERT, overfill, PALETTE_LOCK)
See the Operator Documentation
a=CONVOLVE(tl,tc,tr,l,c,r,bl,bc,br,threshold,USE THRESHOLD,bias,TWO PASS)
See the Operator Documentation
a=FIRE(length, direction, propogation, seed, lat structure, lat turbidity, lng structure, lng turbidity, wobbles, wobble amt, distortion, ADDITIVE, br, bg, bb, mr, mg, mb, er, eg, eb, tr, tg, tb)
See the Operator Documentation
a=GRID(xwidth, ywidth, PRIORITY
[0-2], lineweight, start, NUMBERPRIORITY, NEWIMAGE, NUMBER_EVERY_INTERSECTION, number r,g,b, grad r,g,b, background r,g,b, border r,g,b)
See the Operator Documentation
a=LANDSCAPE(elevation,palette_mix,grid_scale,WIREFRAME)
LANDSCAPE() is the command that actually runs the operator. Before you call LANDSCAPE(), you should call these functions that set up the other LANDSCAPE() variables:
LANDWATER(WAVES,level,skyreflect)
LANDTEXT(separation,tex depth,cam depth,TEXTURING,STEREO,PERSPECTIVE,ambient)
LANDSCALE(x,y,z)
LANDROT(x,y,z,lx,ly,lz)
LANDHAZE(hazelevel,fog linearity)
LANDCLIFF(CLIFFING,steepness)
These functions may be called in any order, except that LANDSCAPE() must be called last.
See the Operator Documentation
a=LIGHTNING(width,direction,branching,seed,zag,red,green,blue,saturation,glow,taper,ADDITIVE)
See the Operator Documentation
a=PAGECURL(shadow,v-priority,corner
[0-3],transparency,exr,exg,exb,hir,hig,hib,ALPHA)
See the Operator Documentation
Plug-Ins
Since a plug-in may have up to 67 parameters (though this is unlikely), we use a fairly flexible approach to get at individual parameters without getting too complex with function arguments.
With the exception of the radio button sets, the various types of plug-in settings are arranged either left to right or top to bottom. The "which" parameters below specify which unit, left to right or top to bottom. For instance, a=PUCHECK(2,1) checks the second checkmark from the left.
The radio buttons are arranged as the set of 8, the two sets of four, and the two sets of two. Left-to right ordering applies to both the sets of four and the sets of two.
The following functions may be used to set up any portion of a plug-in function:
a=LOADPLUG("path_and_file.wis")
a=PUPALNC(Number_of_Colors_In_Palette
[2-1024])
a=PUSTRING(which_string
[0-1],"string")
a=PURADIO(which_radio
[0-4],selection
[0-7])
a=PUCHECK(which_check
[0-7],VALUE)
a=PUFLOAT(which_float
[0-7],value)
a=PUINTEGER(which_int
[0-7],value)
a=PUPROFILE(which_profile
[0-11],index
[0-200],value
[0-255])
a=PURGBA(which_rgba
[0-3],r,g,b,a)
a=PUPALRGB(which_palette
[0-1],index
[0-1023],r,g,b)
a=PUCMD(command_number
[0-29]) (immediately executes command button)
Once the plug-in function is set up, call this to run it:
a=PLUGIN()
See the Operator Documentation
a=RIP(TL,TC,TR,L,R,BL,BC,BR,RTL,RTC,RTR,RL,RR,RBL,RBC,RBR,threshold,MODE
[0-6],IGNORE WORST)
See the Operator Documentation
a=RULER(ALIGN,offset,start,NUMPRI,NEWIMAGE,nr,ng,nb,na,gr,gg,gb,ga,bar,bag,bab,baa,bor,bog,bob,boa)
See the Operator Documentation
a=STABILIZE(Poi X, Poi Y,Disp x,Disp y,EDGES SETTING,red,green,blue,alpha,TILE=0 or STRETCH=1)
Note that only when the EDGES SETTING is set to 0 will the colors make a difference, but the scripting engine requires all parameters so these must be set.
See the Operator Documentation
a=STROKE()
STROKE() is the command that actually runs the operator. Before you call STROKE(), you should call these functions that set up the other STROKE() variables:
STAPP(ABS,HUE,SMOOTHING)
STBARREL(pour,reseed,norep,reverse,zero,random,seed)
STFADE(MODE
[0-4])
STFLIP(seed,RESEED,HMETHOD
[0-2],VMETHOD
[0-2])
STPAL(SMOOTH,WRAP)
STPOS(spacing,roughness,seed,RESEED,GHOSTWRITE)
STROTATE(rot1,rot2,seed,RESEED,METHOD
[0-5])
STSHADOW(ON,level,soft,xo,yo)
STSIZING(size1,size2,seed,RESEED,METHOD
[0-4])
See the Operator Documentation
a=TEXTURE(type,SCROLL
[0-4],ILLUMINATE,T-variance,detail,resolution,seed,depth,turb,CLASS
[0-2],lo thresh,hi thresh,MAX DYNAMIC,INVERT,OVERWRITE)
See the Operator Documentation