This is a list of all the avaliable functions that Zedd offers, as well as which arguments they take and what values they return. Functions marked with a * are not included if you are installing a custom build of Zedd without the subroutine module FUNCTION NAME ARGUMENTS RETURN DESCRIPTION ---------------------------------------------------------------------------------------------------------------------- LoadZ(r1,r2) r1 = X acceleration None Clears the Zedd object buffer, as well r2 = Y acceleration as sets the global acceleration to r1,r2 AddZ(r1,r2,r3,r4,r5,r6)r1 = X position (pixels) Index of Adds a new object to the simulation, with r2 = Y position (pixels) Object position r1,r2 dimensions r3,r4 mass r5, r3 = Width (pixels) and a sprite number of r6. The objects r4 = Height (pixels) frictional constant is set to the default r5 = Mass r6 = Sprite # Del(r1) r1 = Object Index None Deleted an object with index r1 Object at the end of the list is shifted into vacant position *PushZ(r1,r2,r3) r1 = X acceleration None Accelerates an object with r1,r2 force, applied r2 = Y acceleration in 1/256 pixels per frame per frame r3 = Object index *VelZ(r1,r2,r3) r1 = X velocity None Sets the velocity to r1,r2, in 1/256 pixels per frame r2 = Y velocity r3 = Object index *Fix(r1,r2,r3) r1 = X fix flag None Sets the Axis locking on the object. 1 represents r2 = Y fix flag fixed, while 0 represents free motion r3 = Object index *FricZ(r1,r2) r1 = frictional constant None Sets the frictional constant of an object r2 = object index *X(r1) r1 = Object Index X location Returns the objects X location in pixels (pixels) *Y(r1) r1 = Object Index Y location Returns the objects Y location in pixels (pixels) *Xs(r1) r1 = Object Index X location Returns the objects X location in sub pixels (sub pixels) *Ys(r1) r1 = Object Index Y location Returns the objects Y location in sub pixels (sub pixels) *Vx(r1) r1 = Object Index X velocity Returns the objects X velocity in 1/256 pixels per frame *Vy(r1) r1 = Object Index Y velocity Returns the objects Y velocity in 1/256 pixels per frame *ObjAt(r1,r2) r1 = Screen X Object Returns the object that is located at position r1,r2 r2 = Screen Y Index Returns 0 if no object was found