thisPicx is created by (enum)erating what should be a list of references.11/02/2008 11:58:48 SendPicxToGuard [Unknown Beacon]: Function name expected: list ### (shpOrderGate thisPicx outGate) ###
11/02/2008 11:59:44 WirEncounter [Unknown Beacon]: Function name expected: list ### (setq WirList (list (sysCreateShip -543031289 wirVec -543027198))) ###
EDIT: I guess I should probably post this code too.
Code: Select all
(block Nil
(setq extSetObjListData (lambda (source name refList)
(block (x thisObj)
(setq x 0)
(enum refList thisObj
(block Nil
(objSetObjRefData source (cat name x) thisObj)
(setq x (add x 1))
)
)
(objSetData source (cat name "X") x)
)
))
(setq extGetObjListData (lambda (source name)
(block (x finXValue newObj)
(setq finXValue (objGetData source (cat name "X")))
(setq List (list Nil))
(for x 0 finXValue
(block Nil
(setq newObj (objGetObjRefData source (cat name x)))
(setq List (append List (list newObj)))
)
)
)
List ;return value
))
)
Code: Select all
(block (PixList thisPicx outGate)
(setq PicxList (extGetObjListData gSource "PicxPlayerEscort"))
(setq outGate (sysGetObjectByName gSource "Outbound"))
(enum PicxList thisPicx
(shpOrderGate thisPicx outGate)
)
(sysAddObjTimerEvent 40 gSource "PicxFinCheck")
)