#[RESOLVED] [Molang][error] Querry
1 messages · Page 1 of 1 (latest)
Add ; at the end of expressions
Right at the end
... 0.0;"
Also you should use == for comparison
yea fixed it
Error: assignment to non-variable not allowed. Expression is trying to assign to a: Logical And '&&'
now this comes up
"scripts": {
"animate": [
{
"first_person_hold": "c.is_first_person && query.time_of_day == 0.0;"
},
{
"third_person_hold": "!c.is_first_person && query.time_of_day == 0.0;"
},
{
"first_person_hold_c1": "c.is_first_person && query.time_of_day =! 0.0;"
},
{
"third_person_hold_c1": "!c.is_first_person && query.time_of_day =! 0.0;"
}
]
}```
its reffering to the second part
Change =! to !=
thank u for your help