JanurellJoin Date: 2014-01-05 Post Count: 147 |
hi, i was wondering if you could make your own /e commands. I've tried a several free models but they don't work. I've created my own animations and i'm looking for a way to add new /e commands to my place. Could anyone help me with this? thank you beforehand |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
Bump |
|
|
you can make your own /e commands. Just play the animation when you say /e command |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
Could you give me a script? |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
bump |
|
|
i like this game but I would like to add you can have 3pets |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
That still doesnt answer my question, bump. |
|
|
I know,
because of Animations
Animations is NOT permitted to run on other clients
animations current only its owner can use,other can't
(note:ROBLOX's animations is free4all) |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
|
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
bump |
|
|
It's sort of like admin commands. He created "/e" as a prefix and then animations such as "sneeze" that are run when the prefix "/e" is present. |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
So for example
while true do
if player.msg == '/e fly' then player.animationID = 149359445
script:remove()
end
end
won't work? |
|
|
yo idk meng, i don't script. ask Scripting Helpers or something lol |
|
|
> ask Scripting Helpers
Have you been living under a rock for like 2 years? :P |
|
|
o rite they deleted Building Helpers and Scripting Helpers lol
ask Scripters then xd |
|
|
|
Yes, you can make new /e animations.
First, find an animation (It's in Develop > Animations > Search for Animations)
Second, take the ID (It's behind the asset?id= in the page address.)
Third, make a script like this (Put it in the workspace):
local AnimationP = Instance.new("Animation")
AnimationP.AnimationId = "http://www.roblox.com/Asset?ID=[Id here]"
function plrAdded(plr)
plr.Chatted:connect(function(message)
getAnim(plr, message)
end)
end
function getAnim(plr, message)
if message == "/e [Whatever you want here]" then
local AnimTrackP = plr.Character.Humanoid:LoadAnimation(AnimationP)
AnimTrackP:Play()
end
end
Then that's that. To test it, say: "/e [Whatever you put at the if statement]", and the animation should play. |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
I've done that but like, i just stand still when i do /e [command] i don't do anything at all it won't even animate. |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
bump |
|
DevsDreamJoin Date: 2015-02-01 Post Count: 732 |
I'm trying to learn something here but you guys are to technical for me xD |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
bump |
|
DevsDreamJoin Date: 2015-02-01 Post Count: 732 |
Where can I actually search for animations? I don't see them in the animation page, are they free models? |
|
JanurellJoin Date: 2014-01-05 Post Count: 147 |
Bump the script is doing nothing |
|
|
@SirJoeyy
read Output please
read Output please
read Output please |
|
|
not script's problem
is animation itself
Output will says:
Content failed because HTTP 403 (Asset is not trusted for this place)
if animation is not made by you,you cannot use this
you can test your animation here(edit mode):
http://www.roblox.com/NPC-Animation-Example-place?id=146146665 |
|