home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2002 April / GSSH42002.iso / EDITOREN / DS / gmax / gmaxinst_1-1.exe / gmaxsetup11.cab / editfunctions.ms < prev    next >
Text File  |  2002-02-13  |  624b  |  21 lines

  1. -- Edit Functions MacroScript File
  2. --
  3. -- Created:          May 17 2000
  4. -- Last Updated:     June 12 2000
  5. --
  6. -- Author :   Frank DeLise
  7. -- Version:  3D Studio Max Version 4.0
  8. --
  9. -- 
  10. -- Filter and Operation Functions for conext sensitve menus.
  11. --***********************************************************************************************
  12. -- MODIFY THIS AT YOUR OWN RISK
  13. -- 
  14.  
  15.  
  16. fn ApplyOperation ctype oper =
  17. (
  18.     If (Modpanel.getcurrentObject () == $.baseobject) then oper $
  19.     If Classof (Modpanel.getcurrentObject ()) == ctype then (oper $.modifiers[modPanel.getModifierIndex $ (Modpanel.getcurrentObject ())])    
  20. )
  21.