kayler-renslow / arma-intellij-plugin

A plugin for Intellij IDEA that allows for syntactical analysis, code inspections, and other nifty features for the SQF scripting language in Arma 3.
MIT License
41 stars 10 forks source link

setPos with 2d position seems not recognized #62

Closed kju closed 6 years ago

kju commented 6 years ago

Plugin Version

v2 pre4

Summary

player setPos [0,0] see: https://i.imgur.com/CkaajlH.jpg

Detail

Ref: https://community.bistudio.com/wiki/setPos

kayler-renslow commented 6 years ago

Fixed in https://github.com/kayler-renslow/arma-intellij-plugin/commit/a73eb24a9c8d10764fe1f26ce9f68f3bfc8a1cd7

Forgot to mark the last parameter of BaseType.POSITION as optional.

kayler-renslow commented 6 years ago

fixed in 2.0.0-pre5