• 0

    posted a message on Nasty data editor bug - never copy a unit.

    He replied to you , saying he solved it and thanks. Which means your suggestion fixed it.

    Posted in: Data
  • 0

    posted a message on How to get Distance from applied camera object of player?

    I have looked, and the only thing on google or here is how to get the DEFAULT value set in the editor... Not the live value of a players camera distance at runtime of trigger... Help?

    Please only trigger stuff. No data editor. Or adding Cameras., I am using the default so my code is easier to move around to map to map.

    Posted in: Triggers
  • 0

    posted a message on ModernWarfare 'like' game need help

    @TacoManStan: Go

    I guess there is something to be said about jumping to conclusions :

    Lol, I guess just showing a quick vid of me getting the turret working was a bad idea, please note I had several triggers disabled, and certain mouse debugging functions enabled, for testing purposes. I have spent every waking minute since I joined this site (seriously) working on my new map. Its going to be better than the other map I had worked on for wc3.

    Right now I don't have the time to explain everything in my map, but I will take a quick screen shot to show you what I have now. Again please note, im in the middle of working on my zoom function so other things will be out of place ect.

    EDIT: Why would I have a cross hair? I get a green dot by default when clicking. (remember I am still working on the mechanics of the game not the eye candy)

    He never said no. He said he didn't understand what I was asking.

    You don't know how much time I've spent on my map (now you do)

    I didn't even have a traceline written at the time. Lol, Just using camera/mouse movement to control the turret.

    Why would I ask him to combine his map with an old warcraft III map I worked on over two years ago?

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on Henchmen Adventures

    n/a n/a

    Posted in: Project Workplace
  • 0

    posted a message on ModernWarfare 'like' game need help

    lol not to be rude but I wasn't asking for help, I was offering to collab. lol

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on Triple Axis Unit Movement

    I am right now integrating a bunch of code, but send me a reminder pm about this thread. This is my NEXT step, I have battlecruisers im going to fly :P

    Posted in: Triggers
  • 0

    posted a message on Function: Unit Attachment Point

    @Builder_Bob: Go

    I've gotten SetAttachRotation to work.

    Posted in: Triggers
  • 0

    posted a message on WASD 3rd person movement, from unit selection menu.

    @ibebusiness: Go

    I finally updated your code to multiplayer, the event player stuff being grayed out seems to not be a problem. All the variables were not set up as arrays, so every player would change the same variable, and read from it too.

    Posted in: Data
  • 0

    posted a message on [SOLVED] Change model angle in triggers?

    @andgarrett: Go

    Your going to have to use the AttachSetRotaion trigger...

    What point did you attach it to? (my exapmple uses turretZ, please set it to whatever your attachment point is.)

    Now attachsetrotaion is bugged and only allows you to put in X, so you have to use ConvertToString(multiple) to create it. For example

    ActorSend((MainActorofUnit(hero)), (StringToText((CombineStringsMult("AttachSetRotation {TurretZ 0} ", (FixedToString(xOfPolarPoint, 6)), ",", (FixedToString(yOfPolarPoint, 6)), ",0.000000")))))

    Your are going to have to play with the numbers. But do note, the numbers range from -1 to 1. So you will be using decimals to get your rotation right. From what im guessing you want to focus on Z, that should set your angle. However you will have to play around with X and Y but I would start with Z.

    Posted in: Data
  • 0

    posted a message on Triple Axis Unit Movement

    You can move the unit ANYWHERE in the map, even below it( it wouldn't look right though... You would have to actually make the "underground" layer. Blizzard showed a FPS demo, there a unit was walking around and it was underground.

    Anyways you use "SetPostion X,Y,Z" x and y being the coordinates, and Z being the height position on the map.

    Here is what I used for my turret. Now you say that isnt what you want, well actually it is, I had to use this line to get the turret BACK on top of the tank, because it was below that map. Also, when I first learned of this trigger I spent 4 days on this forum and others trying to figure out why my turret disappeared. Low and behold it was and I only needed to adjust z.

    ActorSend((MainActorofUnit(hero)), (StringToText((CombineStringsMult("AttachSetPosition {TurretZ 0} ", (FixedToString(heroPosition[0], 6)), ",", (FixedToString(heroPosition[1], 6)), ",", (FixedToString((ArithmeticReal(heroPosition[2], +, 0.2)), 6)))))))

    Posted in: Triggers
  • 0

    posted a message on Do starcraft 2 units 'call for help' ???

    Well you did say the marines are not checked by default, what about the banelings? "Hurt Enemy" and "Help Friend" set as notify flags

    Also maybe check the events of your banelings, for anything that has to do with being near the enemy or atttacking. There might be a call other actors near unit for help kinda thing.

    Posted in: Data
  • 0

    posted a message on Get keypress triggering player without using for loops?

    @JademusSreg: Go

    Thank you, I came across that thread before and bookmarked it for use, but I've bookmarked about 50+ plus threads that I thought would be great for my map. :P

    Great system btw.

    Posted in: Triggers
  • 0

    posted a message on Get keypress triggering player without using for loops?

    Is this possible, without using data as data doesnt allow multi direction...

    Event player is grayed out... I remember something in starcraft 1 where you could get use "localplayer"

    Posted in: Triggers
  • 0

    posted a message on Turret rotation solved - just one question.

    @ibebusiness: Go

    Got it working, here is a higher quality vid showing it.

    Posted in: Data
  • To post a comment, please or register a new account.