View Full Version : Draw a geometrical form
07-12-2013, 11:51 AM
I've tried some tricks to draw a geometrical form
Code : http://pastebin.com/9PpjxaJk
Code 2 : http://pastebin.com/YeXU0jzB
It is not optimial, so if someone can optimise... :p
07-12-2013, 01:44 PM
Are you referring to the code or the form? The form looks pretty good, but the code could be looped to bring that line count down. :P
Looks very good though!
You could also change the unit_flags of the creature, so you wouldn't have to root it.
07-12-2013, 04:13 PM
Okay, so i want to replace all variables p1.... p10 with a table : p, p but when i do :
p = player:SummonGuardian( INVISIBLE_DUMMY, pPlayer["X"], pPlayer["Y"]+k, pPlayer["Z"]-1.5,0, t);
The unit isn't spawned :/ Why ?
Edit : Oh my !
07-12-2013, 06:01 PM
I think it's better.
08-09-2013, 10:41 PM
Incase you are interested, out of curiosity I also tested to make one:
Not probably the best way though .. Just wanted to code something.
Atm it is made so that when you say a number ingame, it draws as many corners, so 5 makes a pentagram like in your SS.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.