cleolibrary / CLEO-Redux

Experimental JavaScript runtime for GTA 3D era games/GTA IV/Bully
https://re.cleo.li
Other
213 stars 20 forks source link

The commands to create Corona are invalid #23

Closed XMDS closed 2 years ago

XMDS commented 2 years ago
{$CLEO .cs}
0000:
int char
Player.GetChar(0, char)

:main
wait 0
if 
0256: 0
jf @main

:1 
wait 0
char.GetOffsetInWorldCoords(0.0 2.0 2.0 4@ 5@ 6@)
04D5: create_corona_at 4@ 5@ 6@ radius 2.0 type 2 flare 2 RGB 255 0 255
024F: create_corona_with_radius 1.0 type 2 lensflares 0 with_color 255 0 255 at 4@ 5@ 6@ 
jump @1
XMDS commented 2 years ago

The corona command does not work in the cleo script, but it works fine in main.scm

https://media.discordapp.net/attachments/911487285990674476/917749651636121600/79bb163c61ed7770.png

x87 commented 2 years ago

fixed in 0.8.3