Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator '-=' doesn't work as expected #204

Open
Machiavelique2 opened this issue Dec 4, 2024 · 0 comments
Open

Operator '-=' doesn't work as expected #204

Machiavelique2 opened this issue Dec 4, 2024 · 0 comments

Comments

@Machiavelique2
Copy link

int iNumber1
int iNumber2

Begin GameMode

	Let iNumber1 := iNumber2 := 10

	Let iNumber1 := iNumber1 - 0.27		; Return 9
	Let iNumber2 -= 0.27			; Return 9.73 (so the integer is now a float...)
End

This code has been tested with NVSE 6.3.5b and FalloutNV.esm only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant