What's up w/ this dragobject code? ><

Blitz3D Forums/Blitz3D Programming/What's up w/ this dragobject code? ><

Guy Fawkes(Posted 2010) [#1]
How can I make it so that I can drag object unit by unit OR NOT unit by unit depending on the isunitdrag variable instead of it turning and in the wrong place?

also, instead of having it drag objects, i need to do just opposite of that and select the object by clicking it, having it highlight, THEN allowing for it to drag if the mousedown(1)=1



code to look at:




big10p(Posted 2010) [#2]
I havent tried the code but I see both TurnEntity commands inside the If statement are identical.


Guy Fawkes(Posted 2010) [#3]
Did u pay attention to what I asked?

Also, I did that for a reason
That's for if isunitdrag = 1 OR 0


Kryzon(Posted 2010) [#4]
That's for if isunitdrag = 1 OR 0

If isunitdrag = 1 Or 0 Then
   [...]
Endif



big10p(Posted 2010) [#5]
Did u pay attention to what I asked?
Yes, I can read you patronising goon. Try wording your questions better next time.


Guy Fawkes(Posted 2010) [#6]
ur rude


big10p(Posted 2010) [#7]
I was trying to help. I'll know better next time. Jog on.


Oiduts Studios(Posted 2010) [#8]
Rez, I would like to know what kind of game you are making. It better be the best game ever made and be called the "Blitz Basic Community Project".


Guy Fawkes(Posted 2010) [#9]
here's what I have so far for entitypickmode:




Guy Fawkes(Posted 2010) [#10]
the above code won't work using entitypick and idk why