• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Draw a geometrical form

Tommy

Founder
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!
 
Last edited:

Jpp

Administrator
You could also change the unit_flags of the creature, so you wouldn't have to root it.
 

miaxos

Respected Member
Okay, so i want to replace all variables p1.... p10 with a table : p[1], p[2] but when i do :

p[1] = player:SummonGuardian( INVISIBLE_DUMMY, pPlayer["X"], pPlayer["Y"]+k, pPlayer["Z"]-1.5,0, t);

The unit isn't spawned :/ Why ?

Edit : Oh my !

Sorry xD
 
Last edited:

Rochet2

Moderator / Eluna Dev
Incase you are interested, out of curiosity I also tested to make one:
http://pastebin.com/eWeXhrGT
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.
 
Top