#cutscene help
1 messages · Page 1 of 1 (latest)
u need to play animation
and then move the players charcter
and tween camera
i did the camera aswell on moon itself and actually the animation is in firstperson so basically the camera is attached in the head
i have done the animation and all. like the rig and the camera aswell. my problem is just how can i trigger it when joined
playeradded
did it work? could you show the cutscene
so if i script playeradded then get the data of the folders(cam,FOV etc.) then animation i will just trigger it if player is added?
yes
When u use playeradded everything inside of it happens when the player joins
thats how u save data
i havent really tried scripting it cuz im afraid i will ruin the work, im still learning lua and as far as i know i can only do intermediate level and i didnt really understand how camera works if i script it something like that, but here is a video of my cutscene
** You are now Level 1! **
though im not quite sure if i can do the folder thingy since i didnt understand what's inside it aside from just keyframes. the only thing i understand was how to play the animation for the rig only
cool ass cutscene
Thank you 🙏
thats why i havent really tried scripting it cuz it might get ruined 😭
You just have to do humanoid:LoadAnimation
does this work aswell for the camera? as far as i understand it wont ig because like the camera wasnt exported as a whole animation but a frame by frame inside a folder 😭
nope
its only for the players animation
i would of just scripted the camera movements tbh
what do u mean by that?
like manually do the camera movement using part block?
and just script it
yeah i guess
dang there is no other way to use the camera i made on moon? i do have an idea though instead of making a part block and use it as camera. cant i just script it and use the dummy's head as a camera so that it will still be in firstperson? would that also work?
lowkey moon animator camera is very complicated. it would be way easier to just do a renderstepped to make the local cam cframe the head's cframe
mind showing me how should i do it? i quite dont understand
just do in a local script in startercharacterscripts
local currentcam = game.Workspace.CurrentCamera
local char = script.Parent
local camconnection
camconnection = rs.renderstepped:Connect(function())
currentcam.CFrame = char:WaitForChild("Head")
end)
do this code when your cutscene for the head pov starts and when the cutscene is done do
exampletrack:Stopped:Wait()
camconnection:Disconnect()
obviously this code won't solve everything but it provides a foundation
i am doing something similar heres an example
it is much simpler though
just apply the same principles of putting the camera cframe in a renderstepped and changing it to the part in the position you want it to see through cframe. Remember to put them in a connection and disconnect it when you want to stop the camera being in that position
obviously there are many other ways to do this but this is the most simplest way in my opinion
OMG this was the thing i was really looking for. i will try it and let you know if i have any other questions!
hello @edgy rock sorry for the ping
i have followed your suggestion and it is doing well yet may i know how can i hide the accessory? if its in the head, u will see the accessories still i want to hide it so i used the localtransparency thingy to 1 for each handler but yet it seems to be not working even though it is correct
** You are now Level 2! **
@severe hearth Hey sorry for late response, I been a bit busy. Could i see the code you used to set the transparency if you havent already fixed it?
Maybe you can try
for _, v in ipairs(char:GetDescendants()) do
if v:IsA("Accessory") then
local handle = v:FindFirstChildOfClass("Part")
handle.Transparency = 1
end
end
this worked for me