• 0

    posted a message on Some sort of map protection yet?

    @Eldrazor: Go

    i wouldnt worry so much about protection, since it most likely only prevents noobs from not being able to copy ur map.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Trigger Never Runs

    @TGhostdk: Go

    im not a programming pro but my guess would be that the array you have with your points [4] starts with 0 not 1, its just a wild guess tho.

    so i would change player 1 to 0, player 2 to 1 etc. then also change the for each integer accordingly.

    or set your Integer i to = 1

    Posted in: Miscellaneous Development
  • 0

    posted a message on Possible to ignore Pathing?

    @Eldrazor: Go

    Thx Eldrazor im gonna try that!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Possible to ignore Pathing?

    Thx for the responses!

    argh darn i hoped there would be such an action or something in the data editor like a flag i could check to solve this problem :(

    Posted in: Miscellaneous Development
  • 0

    posted a message on Possible to ignore Pathing?

    Hello fellow modders

    I was asking myself if its possible to give a unit some kind of trigger action that lets it pass through otherwise forbidden Pathings.

    Or is it possible to deactivate and then re enable pathings thorugh triggers?

    Help would be really appreciated!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Scaling Archon Beam

    solved

    Posted in: Miscellaneous Development
  • 0

    posted a message on Upgrading Unit Range with Trigger

    @Eldrazor: Go

    its a buff behaviour, and its the ressources needed to cast the behaviour. Im trying to learn the Data Editor so I could be way off the solution with this, but it states Passive effects for Units and theres a range modificator in there..

    hmm i could try it with upgrading all Archons, but would really like to know if its possible with behaviours.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Upgrading Unit Range with Trigger

    bump

    Posted in: Miscellaneous Development
  • 0

    posted a message on Upgrading Unit Range with Trigger

    Hey fellow mappers

    ive got a question on how i can increase range through a trigger(dialog).

    Ive set up a behaviour for it but i cant seem to get it to work.... i can add abilities, speed and other stuff np but the range gives me problems. Its just for a single Archon.

    my behaviour from the data editor looks like this:

    Range upgrade
    Cost - Resource	{50|0|0|0}
    Max Points	5
    Modification - Weapon Range	1
    Modification - Weapons - Weapon	{Archon - Psionic Shockwave}
    Modification - Weapons Enabled	{Archon - Psionic Shockwave}
    Name	Range upgrade
    Race	Protoss
    

    and the trigger looks like this

    Unit - Add 1 Range upgrade to Archon [67.65, 184.58] from 1
    

    or is there an easier way to do this i overlooked?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Array index

    Yeah sorry its hard to get the picture if you dont know for what i use it for.

    So basically i have a series of questions that you get some answers to choose from, if you pass you move on if not you die.

    So i had this idea to put all the wrong answers into an array and on every question theres just 1 right variable and this big array of wrong answers.

    On every a new question i would put up a switch function

    1. right variable 2. array of wrongs 3. default = cancel

    and i asked myself how i could just let the programm look out for the array without knowing which index just look for any index doesnt matter, basically useing it like a boolean that means = wrong

    im kinda new to programming so i guess theres tons of better solutions but i want to learn and asked myself if it would be possible with this array.

    Hope this lightens things up a bit.

    At the moment i use the default of the switch function as the wrong, really works out without this array of wrongs.

    heres an example:

    Answer 2
        Events
            Dialog - Any Dialog Item is Clicked by Player Any Player
        Local Variables
            buttonpressed = (Used dialog item) <Dialog Item>
        Conditions
            And
                Conditions
                    Questionnumber == 2
                    Menubutton != (Used dialog item)
        Actions
            General - Switch (Actions) depending on buttonpressed
                Cases
                    General - If (right)
                        Actions
                            Dialog - Destroy Dialog[4]
                            Dialog - Destroy Dialog[5]
                            Camera - Pan the camera for player 1 to (Position of Pathblock [10.00, 95.00]) over 2.0 seconds with Existing Velocity% initial velocity, 10% deceleration, and Do Not use smart panning
                            General - Wait 2.0 Game Time seconds
                            Unit - Order all units in (Pathblock units in Region 002 owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) to (Supply Depot - Lower (Supply Depot)) (Replace Existing Orders)
                            General - Wait 1.0 Game Time seconds
                            Unit - Unpause Archon [14.33, 100.12]
                            Transmission - Stops all active transmissions
                            Trigger - Turn Question 1 dialog Off
                            Camera - Pan the camera for player 1 to (Position of Archon [14.33, 100.12]) over 2.0 seconds with Existing Velocity% initial velocity, 10% deceleration, and Do Not use smart panning
                            Unit - Make Archon [14.33, 100.12] Commandable
                            Transmission - Send transmission to (All players) from (Changeling [2.08, 12.21] with Flash (Do Not override portrait) playing Talk) playing No Sound Link with name "Mazekeeper" and message "Nifty Nifty ;D" using (Cinematic portrait (Center Left)) playing Talk (Add 5.0 seconds, Don't Wait until it finishes)
                            Variable - Set trialnumber = 1
                            Variable - Set Questionnumber = 3
                    General - If (cancel)
                        Actions
                            Unit - Unpause Archon [14.33, 100.12]
                            Dialog - Destroy Dialog[4]
                            Dialog - Destroy Dialog[5]
                            Transmission - Stops all active transmissions
                            Unit - Make Archon [14.33, 100.12] Commandable
                Default
                    Unit - Order Archon [14.33, 100.12] to ( Hold Position) (Replace Existing Orders)
                    Transmission - Stops all active transmissions
                    Dialog - Destroy Dialog[4]
                    Dialog - Destroy Dialog[5]
                    Camera - Zoom camera for player 1 at (Position of Archon [14.33, 100.12]) from Default Camera Distance to (Abs(15.0)) over 3.0 seconds
                    Unit - Order all units in Unit Group 003 to (Zergling - Unburrow) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 004 to (Zergling - Unburrow) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 006 to (Zergling - Unburrow) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 007 to (Zergling - Unburrow) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 008 to (Zergling - Unburrow) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 009 to (Zergling - Unburrow) (Replace Existing Orders)
                    General - Wait 1.0 Game Time seconds
                    Unit - Order all units in Unit Group 003 to ( Attack Archon [14.33, 100.12]) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 004 to ( Attack Archon [14.33, 100.12]) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 006 to ( Attack Archon [14.33, 100.12]) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 007 to ( Attack Archon [14.33, 100.12]) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 008 to ( Attack Archon [14.33, 100.12]) (Replace Existing Orders)
                    Unit - Order all units in Unit Group 009 to ( Attack Archon [14.33, 100.12]) (Replace Existing Orders)
    
    Posted in: Miscellaneous Development
  • 0

    posted a message on Array index

    I used the default setting for a workaround but now the game menu dialog item is causing problems.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Array index

    Not exactly, i want the action to happen with any index of the array.

    is this possible?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Array index

    Hello everyone

    i looked up the search function but didnt seem to find anything related.

    Following problem: Im creating a Trivia map with several Questions that are answered thorugh a dialog button, for every wrong answer theres an array that saves the dialog item. Now in my event i have a switch case, where i want some actions to happen if ANY index of the array is used. but i cant seem to find the order/preset for the

    if Buttons[]
    

    Does anyone know?

    Greetz Fanta

    Posted in: Miscellaneous Development
  • 0

    posted a message on Deleting Dialogs, help please

    Thanks a lot for the fast response!

    Ill try that right away :)

    Really appreciated you guys!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Deleting Dialogs, help please

    Hello fellow modders!

    Im having problems with the event any Dialog item is clicked. isnt there a way to delete just the Dialogs you want, without having to refer to Last Dialog created or Destroy all dialogs? Like give Dialogs a name and then destroy just exactly this Dialog.

    Im asking because i want to make an Exit button on my screen, that cant get deleted and pops up a custom menu.

    Any ideas?

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