Jump to content


help with synthax please

2 replies to this topic

#1 Nirran

  • Member
  • 17 posts

Posted 30 November 2016 - 04:06 PM



I am attempting to deleted headers from a spl file and stumbled across this




but weidu throws a parse error,saying the macro doesn't exist


what synthax is needed for this macro?






#2 agb1

  • Member
  • 1623 posts

Posted 30 November 2016 - 05:51 PM

First make sure you are using the most recent version of WeiDU from http://www.weidu.org/~thebigg/ (not the one from www.weidu.org).


To invoke a macro you need to write LAUNCH_ACTION_MACRO ~macroname~ or LAUNCH_PATCH_MACRO ~macroname~ (depending on the type of macro).  In this case, deleting a spell header is a patching activity.


You can abbreviate LAM for action macros and LPM for patch macros.  So LPM ~DELETE_SPELL_HEADER~ (the ~~ are optional too).  That is a complete command, with no END following it, unlike functions where you BEGIN and END (because you give a function a list of parameters, but you do not give any parameters to a macro).

BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)


BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip

#3 Nirran

  • Member
  • 17 posts

Posted 30 November 2016 - 06:03 PM


Reply to this topic