Recent content by GoGo-Boy

  1. GoGo-Boy

    Giving structs initial value on creation?

    Oh boy, what a stupid typo >.< That was the problem :/ Thank you!
  2. GoGo-Boy

    Giving structs initial value on creation?

    *Bumb* Am still not getting it work. private struct Vector real x real y static method oreate takes real x, real y returns thistype set .x=x set .y=y endmethod // later on private function Actions takes nothing returns nothing local integer...
  3. GoGo-Boy

    Giving structs initial value on creation?

    Alright, thanks both of you!
  4. GoGo-Boy

    Giving structs initial value on creation?

    Hey there, just a quick question. I didn't code for a long time and wondered how to create a struct and give it members certain values. Like a 2D struct with x and y and then you do something like local 2D d=2D.create(2,5)
  5. GoGo-Boy

    Is the event EVENT_PLAYER_UNIT_SELECTED delayed?

    Hi there, as it seems there's a slight (about 0.5seconds) delay between me clicking a unit and the action of that trigger firing. Is there anything to do about it? I guess not though...
  6. GoGo-Boy

    Question regarding CustomKey.txt

    Yeh, that's what I wonder about as well :/
  7. GoGo-Boy

    Question regarding CustomKey.txt

    ? Do you mean I shall change the Hotkey there? I know that man... I'm asking how to change it via the CustomKey.txt which somehow doesn't work for me.
  8. GoGo-Boy

    Question regarding CustomKey.txt

    Hi there, I got a question regarding the CustomKey.txt file. If I want to add abilities there so that other guys can change the hotkeys of the heroes' spells to their liking, is there any requirement for the abilities so that it'll work? I e.g. just tried adding the following to the file...
  9. GoGo-Boy

    How to prevent units from automatically attacking?

    Alright someone at Wc3c also suggested that and posted a function. That's really cool. So +Rep!
  10. GoGo-Boy

    How to prevent units from automatically attacking?

    Is that even possible? Never heard about that.
  11. GoGo-Boy

    How to prevent units from automatically attacking?

    Lowering the acquisition range doesn't work. In case the unit is attacked or an allied unit is attacked it will be attacking itself. Classifying it as a worker is an interesting idea. Though I got a little icon in the left corner then hm? :/ Edit: Yeah, it'll show a worker icon. Unless I can...
  12. GoGo-Boy

    How to prevent units from automatically attacking?

    Hi there, is there any way to prevent units from auto attacking / auto acquiring targets? So that your unit will attack the opponent only if you right clicked / attack clicked it? Is there an object editor ability that does so or may a gameplay constant help? Thanks in advance ;)
  13. GoGo-Boy

    Recycling units for projectile system... Facing problems

    Thanks a lot, reading through it :>
  14. GoGo-Boy

    Recycling units for projectile system... Facing problems

    Hi there, I'm pretty sure there's nothing you can do about this but it's always worth asking ;p As SetUnitFacing(...) doesn't make the unit face the angle immediately the facing of the projectiles is messed up. So far I've heard there's nothing you can do about it and you need to create...
  15. GoGo-Boy

    System GTrigger Event System

    Hmm okay, will try it with GT then as I have some or stuff as well... Will make the code clearer as well :>
Top