- Status Postponed
- Percent Complete
- Task Type Feature Request
- Category Engine → Combat
-
Assigned To
Talad Tuathanach - Operating System Windows
- Severity Low
- Priority Medium
- Reported Version 0.7.8 Unreal
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#7180 - Scripting function "GetItem" inside <on type="attack"> is not working
Example found in all Alchemist items, example Alchemist Freezer
Error on console is:
Error in ><let> bindings<: Given a NULL iScriptableVar* for >RightItem<.
The scripts are run through : ApsCharacter::InvokeAttackScripts()
The first thing is to execute this script part: RightItem=Attacker:GetItem(0); QuaLevel=RightItem:Quality/50;
In a similar case with GetItem(0) but outside of <let> we get MathStatement::Evaluate() with RightItem=nan , it works.