CurseForge Register Sign In

SC2Mapster

  • Projects
    • Assets
    • Maps
  • Forums
  • Dashboard
  • Paste
  • Wiki
  • Feedback
Desktop View
  • Home
  • Member List
  • _ForgeUser1326003's Profile
  • Send Private Message
  • View _ForgeUser1326003's Profile
  • _ForgeUser1326003
  • Registered User
  • Member for 11 years, 1 month, and 28 days
    Last active Tue, Jun, 28 2011 05:30:08
  • 0 Followers
  • 118 Total Posts
  • 0 Thanks
  • Posts
  • Threads
  • Reputation
  • Projects
  • Forum Posts
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 7
  • Next
  • View _ForgeUser1326003's Profile

    0

    Oct 6, 2010
    _ForgeUser1326003 posted a message on Find Maximum value in multidimensional array

    Okay lets say I have an array arr[3][3]
    and the values:
    arr[0][0] = 12
    arr[0][1] = 8
    arr[0][2] = 3
    arr[1][0] = 11
    arr[1][1] =18
    arr[1][2] = 9
    arr[2][0] = 12
    arr[2][1] = 9
    arr[2][2] = 4

    now I wanna find the maximum value, while the significance of the values is ascending. So the maximum would be arr[2], since arr[2][0] and arr[0][0] are the same and arr[2][1] > arr[0][1]. So the return values would be 2.
    Whats the quickest way to find out the (first) index for the maximum (take into consideration that there may even be instances where all values of multiple indexes can the the same, in that case I need all max. indexes)

    edit: nvm, had to rethink this for a second and it's not that hard after all.. so, this thread can be removed :D

    Posted in: Triggers
  • View _ForgeUser1326003's Profile

    0

    Sep 7, 2010
    _ForgeUser1326003 posted a message on Dialog item Image distorted ?

    Okay so I chose the raynor hero icon as an image for a dialog item ( button ) and it always stretches in the y-direction too far. I tried all image modes, but I can't get it to crop to the correct size (50x50)

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Aug 20, 2010
    _ForgeUser1326003 posted a message on Give ability to unit via trigger?

    Not possible? I can only find add behavior, not add ability.. wtf ?

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Aug 19, 2010
    _ForgeUser1326003 posted a message on Is there a way to have a levelable crit via data editor?

    @pixartist: Go

    bomp -.-

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Aug 19, 2010
    _ForgeUser1326003 posted a message on Is there a way to have a levelable crit via data editor?

    @pixartist: Go bump

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Aug 19, 2010
    _ForgeUser1326003 posted a message on Is there a way to have a levelable crit via data editor?

    bump :(

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Aug 19, 2010
    _ForgeUser1326003 posted a message on Is there a way to have a levelable crit via data editor?

    Okay is there (now that the game is out of beta) a way to create a critical strike behavior with variable DAMAGE and CHANCE in the data editor ? (variable via upgrades)
    lets say I want a hero with unlimited levels, I really don't see how it's practical to create hundrets of levels for a "simple" ability like critical strike by hand in the data editor. There HAS to be a better way to do this (without triggers)

    and if not, how can I distinguish between normal attacks and abilities when I catch the damage event via trigger ?

    edit: same goes for an evasion ability

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Aug 10, 2010
    _ForgeUser1326003 posted a message on The Easter Egg Screenshot thread

    @Zarakk: Go perhaps it's blizzards new game :D

    Posted in: General Chat
  • View _ForgeUser1326003's Profile

    0

    Jul 29, 2010
    _ForgeUser1326003 posted a message on Diablo: The curse of Tristram *New Video UI part2*

    @egodbout: Go wouldn't it make more sense to screenshot the actual diablo 3 ui, and paste - at least parts of it - into sc2 ? (via import texture)

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Jul 28, 2010
    _ForgeUser1326003 posted a message on Could not create Actor

    @pixartist: Go no ideas?

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Jul 28, 2010
    _ForgeUser1326003 posted a message on game variants - serious problem

    nvm...delete thread plox

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Jul 28, 2010
    _ForgeUser1326003 posted a message on Make unit nocollide via trigger

    @RileyStarcraft: Go but but as stated in the other thread, when I try to create a Marine Actor it says "Could not create Actor" ingame -.-

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Jul 28, 2010
    _ForgeUser1326003 posted a message on return array?

    @BlinkHawk: Go

    yeah, you just confirmed what I said, you CAN'T, even though the UI implies it ;)

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Jul 28, 2010
    _ForgeUser1326003 posted a message on Could not create Actor

    Actor - Create actor Marine at point (Center of Zones[i][j])
    gives me
    Could not create actor, Name: [Marine]
    Content1[] Content2[]

    why ? Oo

    Posted in: Miscellaneous Development
  • View _ForgeUser1326003's Profile

    0

    Jul 28, 2010
    _ForgeUser1326003 posted a message on return array?

    @BlinkHawk: Go

    Well, c might technically be a high level language since it needs a compiler, but it's still very close to low level languages and that's pretty obvious when you look at it's syntax, and also arrays are not pointers. Arrays are only pointers when the language defines them to be pointers - as c does. The concept of an array does not require nor imply the use of pointers. In most modern languages arrays are not pointers at all and thus can be handled like any other object.

    but on topic: I was referring to the UI of galaxy which OFFERS return values as arrays. That's what confused me.

    Posted in: Miscellaneous Development
  • To post a comment, please login or register a new account.
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 7
  • Next
Twitch
© 2019 Twitch Interactive, Inc
About Careers Blog Press
Brand Music Advertise Ad Choices
Prime Partners Affiliates
Developers Help Feedback
Terms of Service Privacy Policy Cookie Policy