Jump to content


Member Since 24 May 2010
Offline Last Active Jan 13 2018 09:44 AM

Posts I've Made

In Topic: MoveBetweenAreasEffect()

13 January 2018 - 09:42 AM

Fixing this issue in NI is tricky. For now I will only apply a hack to make it work, which will have some (harmless) side effects.

A more thorough approach would require a rewrite of major portions of the script decompiler. I might do that at a later date when I have more time.

In Topic: MoveBetweenAreasEffect()

13 January 2018 - 03:53 AM

The problem lies in the decompile operation (BCS back to source) where NI appears to discard the second string argument. So this will only be a real issue if you decompile and compile the script without adding the second string argument again.

In Topic: MoveBetweenAreasEffect()

13 January 2018 - 02:53 AM

Both MoveBetweenAreasEffect() and MoveBetweenAreas() share the same action ID. However, NI should not ignore the second string parameter if it exists. I'll look into it.

In Topic: EET mod maintenance for converted mods

12 January 2018 - 11:49 AM

I found this in the changelog for new Weidu 243

SUPPORT is an alias for AUTHOR.
There is not much documentation of how where why to use it, though.

As the changelog states, it is just an alias. You can use either of the keywords, it doesn't make a difference for WeiDU internally. I guess this keyword had been requested to emphasize that AUTHOR should preferably provide a means to contact the author instead of just the author's name.

In Topic: Detect current hit points in spell

10 January 2018 - 12:45 PM

I haven't test this, but can't you use opcode 82 (Set AI script) to set a temporary script to the target's AREA script slot? The script can be used to execute code based on current HP. Using the AREA slot should minimize interference with existing scripts. There is most likely a slight delay between spell hitting target and target executing script though.