Results 1 to 3 of 3

Thread: 8 short questions!

  1. #1

    Default 8 short questions!

    1."this" is the thing the script lies in, right?
    and can i say like:
    2.this.Velocity = Vector2.new(2,39) ?

    Oh i got more questions:
    3.entity = ???
    4. can i find a lookVector from an object?
    5. how do i make a function run when a player press a buttom?
    6. can i angle a players camera?
    7. can i angle a players character?
    8. CFrame.new(FirstObj.Position, 2ndObj.Position).lookVector*speed -- is that true math in novashell?

    thanks for reading, more thanks to you who answers XD

  2. #2

    Default

    wootness?!
    i found this:
    Vector3.new(0,100,0)
    but u aint a 3d game!
    its a 2d game, cant have 3 vectors?!
    What have i missed?

  3. #3

    Default

    OK, I'm just learning lua, let alone NovaShell lol, but I'm hoping NovaShell will teach me, what I've learnt so far can help me answer most of your questions lolz

    1.Yes. And by "Yes" i mean 'this' refers to the object/entity calling the function
    2.Uhm, still new to me, lol, but if there is a class called Vector2, which can be created like in c# and if it has a static function called new. otherwise it'd be done like this:
    this:Velocity = new Vector2(2,39);
    (Please note the colon, instead of the dot)

    Oh he's got more questions:
    3.entity = meh, look it up lol
    4. I think I saw that somewhere, so yeah.
    5. heheh, wish i could go around pressing all the bottom's I saw.
    I'm not sure if there is an event based style to do this, but in the update class you could figure out how close the player is, then (if they're in bottom pressing range) check to see if they're pressing the button they need to press on the keyboard (like 'enter') or something
    6. uhm dont think so, but it's in the features list (fingers crossed for the future)
    7. I hope so lol, I'm gonna need this
    8. I dont know what you mean by "is that true math in novashell?"

    phew

Similar Threads

  1. Questions
    By in forum Dink Smallwood HD
    Replies: 1
    Last Post: 12-20-2005, 09:54 PM
  2. few questions :D
    By virtual_lady in forum Dink Smallwood HD
    Replies: 3
    Last Post: 07-10-2005, 07:02 AM
  3. please,please,few questions
    By ladyblue in forum Dink Smallwood HD
    Replies: 2
    Last Post: 07-11-2004, 03:32 PM
  4. good game, short demo
    By Wacko Darko in forum Other RTsoft Games
    Replies: 0
    Last Post: 10-21-2002, 12:55 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •