Jump to content

Creating Connectible Nodes


Shard
 Share

Recommended Posts

Hey all!

 

I've been working on creating some nodes for myself that I can parse in code and I was wondering how I would go about coding a Lua node so that it draws a lines in the editor.

 

What I'm trying to do is create the navArea maps for my AStar so I want to be able to place two nodes, which then create the diagonals for a square. It would be nice to be able to draw the square on screen but I'm not sure how to go about this as my Lua is very weak.

 

Thanks

-Shard

simpleSigPNG.png

 

Programmer/Engineer/Student

www.reikumar.com

 

2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM

C++ - Visual Studio Express - Dark GDK - Leadwerks SDK

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...