Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help With Magic?

How would I go about scripting mage attacks from diffrent type of elments like fire , wind , air , water etc , I want to know what would I have to learn to be able to script mage spells .

PS : Thanks :D

3 comments

0

You'll have to learn the basics of scripting first.

0

I know some bascis like functions , variables , and etc.

0

P.S. THANKS

1 answer

✓ Accepted answer
  1. Scripts vs local scripts
  2. Properties of objects
  3. Events, like Key down event, on click event, on touch event 4.How to create a new part using Instance.new
  4. body velocity for the moving part
  5. CFrame for position of the part againsts/towards your body 7.CFrame.lookVector

There is quite abit of knowledge with this. So as you master one, prove you can do it step by step, so start off small, then advance. The other approach of learning is to look at code and tear it apart(by commenting it out) step by step to see how it works.

I do the second approach and sometimes the first approach if I become abit confused.

Sources: http://wiki.roblox.com/index.php?title=CFrame#Properties http://wiki.roblox.com/index.php?title=API:Class/BodyVelocity

Both are very helpful. If you want to get started quickly just do the first 3 pieces i mentioned and then go straight towards finding code that shoots out an object and then replicating it, and making it better than before. Dont forget to comment code so that you will know what it does later as you work on it.

This discussion is preserved as it was. New answers, comments, and votes are closed.