Scripts / smallg's floating_platform2 script help

Author
Message
bluemeenie195
6
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 19th Dec 2019 14:58
Hi everyone,

I've been testing smallg's great script on a helicopter for the final scene of my level.

The script works great, but I can't get the blade animations to work on the helicopter no matter were I put the code snippet in.

Here's the code snippet:

if g_Entity[e]['animating'] == 0 then
SetAnimationFrames(180,199)
LoopAnimation(e)
g_Entity[e]['animating'] = 1
LoopSound(e,1)
end

Can smallg or someone not to busy please help me ?

Thanks

Attachments

Login to view attachments
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 19th Dec 2019 16:08
looks fine, should be able to just paste the code into the init(e) function, is it giving an error or something?
does the model definitely animate in GG? are they the right frames?

you can email me the model and i can check if you need further help
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
bluemeenie195
6
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 19th Dec 2019 16:18
Hmm, strange.
Thats the first thing I did with the code snippet.

I'm at work now will report when i'm home.

Thanks, smallg
PM
bluemeenie195
6
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 19th Dec 2019 18:20
I came back home for lunch to try the script and it works perfectly. It didn't work before cause of a dumb mistake by me

Thank you smallg. Your the best !

tsuGQ-cSOAQ[/video]

https://www.youtube.com/watch?v=tsuGQ-cSOAQ
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 19th Dec 2019 22:33
no worries
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-12-22 09:32:14
Your offset time is: 2024-12-22 09:32:14