Im back!!! And need help :P

  • Thread starter Thread starter DUCynicalOne
  • Start date Start date
D

DUCynicalOne

Guest
:) Alright boys n girls.. I'm really back now.. :) Last time I said I was back.. i wasn't really.. diablo 2 was my main focus.. Now I quit that.. forever.. (thank god. -.-) Its more addicting than crack!! I had to do hours of rehab for this.. but anyway!! Hello to my two old friends.. darg+ryoko :D Sup d00ds.. Mmyeah, I got a new rpg started.. I'll try to get pics up when I can.. Hopefully you guys like it :D I think it looks ok.. ANYWAY!!!!! Now for my questions..

Dialog buttons .. WOW, T_T This stuff = mad hard :P I can't figure it out to save my life.. What's supposed to happen is when you level up, it gives you 3 lumber, and sum dialog comes up.. The buttons (THAT ARE SUPPOSED TO BE THERE T_T) are Force - Agility - Intellect .......... but none of them want to show up -.- Ill show you guys the trigger..

Code:
Events - A unit gains a level.
Conditions - ((Triggering unit) is a hero) equal to True
Actions - 
Dialog - Show StatPoints for (Owner of (Leveling Hero))
Dialog - Change the title of StatPoints to Stat Points
Dialog - Create a dialog button for StatPoints labelled Force
Dialog - Create a dialog button for StatPoints labelled Agility
Dialog - Create a dialog button for StatPoints labelled Intellect
Thats to create the dialog and buttons.. It just creates a dialog called Stat Points .. the buttons wont show up.. WHAT GIVES!!
Code:
SatPoints - Dialog
Force - Dialog Button
Agility - Dialog Button
Intellect - Dialog Button
Those are what all the variables are..
Whenever they click a (nonexistant -.-) button, it decreases lumber by 1.. when lumber reaches zero, it hides the dialog.. but its not working!! argh!! Help me if you can!!

Another dilemma I have.. I lost photoshop!!!!! I got a HORRIBLE virus and I had no choice but to reformat.. and I couldn't save ANYTHING :( If anyone has photoshop and they could (PLEASE) send it to me.. I would be eternally grateful..


I failed to mention earlier (Not sure why :P) but I have a TD goin to .. I have ALL (for now) towers and terrain done .. But .. I need help w/ the spawn triggers .. and this other REALLY gay problem I'm having -.- Anyway .. Its "Random TD" .. Fun .. almost ;/ I have the whole Set RandomTower[1] = Anti-air tower .. and such stuff as that .. But I can't figure out the trigger to MAKE the tower.. I have this much of the trigger setup..

Code:
Events - Unit - A unit Finishes construction
Conditions - (Unit-type of (Constructed structure)) Equal to |CFFFF0303RaNdOm ToWeR|r
Actions - Unit - Kill (Constructed structure)


|CFFFF0303RaNdOm ToWeR|r is a Unit Type Array (w/ a value of 20, because theres 20 towers) Help me !! (Need to know how to make a random tower spawn)

My next post will have sum screenshots of my rpg .. ;)
 
I know what you are doing wrong lol here is how I would do my triggers for this dialog:


Dialog show:

Code:
           Events
                a unit gains a level.
           Conditions
                (triggering unit) Is equal to a hero.
           Actions
                Dialog - clear (Dialog A).
                Dialog - Change the title of (Dialog A) to (Your name).
                Dialog - Create dialog button labbled text: Agility.
                set - (Agility) Equal to (last created dialog button.
                Dialog - Create Dialog button labbled text: intelligence.
                set - (Intelligence) Equal to (Last created dialog button).
                Dialog - Create Dialog button Labbled text: Strength.
                set - (Strength) equal to (last created dialog button).
                Dialog - Show dialog for (owner of (Triggering unit)).


That will be to show your dialog now we need to make 3 different triggers for agility, intelligence, and strength first we will do agility.

Agility
Code:
      Events 
          Dialog - A dialog button is clicked for (Dialog A).
      Conditions
          None :).
      Actions
       If (All Conditions are True) then do (Then Actions) else do (Else Actions)
               If - Conditions
                   (Clicked dialog button) Equal to (Dialog A).
               Then - Actions
                   Hero - Modify Agility of (Owner of (Triggering unit)): Add (Agility amount)
               Else - Actions
                  Do nothing


Intelligence
Code:
      Events
           Dialog - A dialog button is clicked for (Dialog A).
      Conditions
           None again :).
      Actions
                  If (All Conditions are True) then do (Then Actions) else do (Else Actions)
               If - Conditions
                   (Clicked Dialog button) equal to (intelligence).
               Then - Actions
                   Hero - Modify Intelligence of (Owner of (Triggering unit)) Add(Intelligenceamount)
               Else - Actions
                  Do nothing


Strength
Code:
       Events
           Dialog - A dialog button is clicked for (Dialog A).
       Conditions
           None again :).
       Actions
                  If (All Conditions are True) then do (Then Actions) else do (Else Actions)
               If - Conditions
                   (Clicked dialog button) Equal to (Strength)
               Then - Actions
                   Hero - Modify Strength of (Owner of (Triggering unit)): Add (Strength amount)
               Else - Actions
                  Do nothing


For the dialog buttons you need to create a variable for every button, and make it "Dialog button" in the varaible type properties. Any questions on this? Just post and ask :).






BrokenX
 
Question - Don't dialog boxes close after one click? If so, then you'd have to pop it up three separate times, or find something that forces it to stay open. If not, then I'm just wrong, and you're all set.
 
Thats why we created 3 seperate triggers, in the game so that after they click it, it does the actions we want, look above ^^. I am not bad with Dialogs but I know what I am doing :).




BrokenX
 
That's not what I meant. I mean, he said the player would get three lumber, and would stay up until lumber hit zero. So he wants the player to click a button three separate times, one for each stat point used. So, if dialogs close after one click, you should add this action to the end of each of the three stat triggers (Force, Agility, and Intelligence)

If (Owner of triggering unit) current lumber greater than 0 then run (name of dialog show trigger) ignoring conditions

Make sense?
 
I have no clue what you just said ... lol what action does he want to add, or what does he want this thing to do I totally don't get it.




BrokenX
 
BrokenX said:
Thats why we created 3 seperate triggers, in the game so that after they click it, it does the actions we want, look above ^^. I am not bad with Dialogs but I know what I am doing :).




BrokenX

Ehh... I dont realy understand this answer...

He means that after someone clicks the dialog it will be closed down and you wont be able to klick it the second and thierd time. After each dialog klick you will have to showe the same dialog againg.

If I'm not compleatly wrong just ad this to the first trigger.
Set KlicksLeft = 3
KlicksLeft is an integer and if you have more than one player it must be an array.
Set KlicksLeft(playernumberof(owner of triggering unit) = 3

Also add trigger 2 - 4 in the same one I dont se any reson to have them all.
Now add the action
Set KlicksLeft = KlicksLeft - 1
To the new trigger (If Klick left is an array use KlickLeft(playernumberof(triggering player)
Now at the end att this
If KlicksLeft greater than 0
The
Dialog - Change the title of (Dialog A) to (Your name).
Dialog - Show dialog for (triggering player)).
Else
Do Nothing

-Edit-

If you want to display the amunt of clicks left use the lumber method above insteed. you dont nead to run the hwole trigger again. Just use Show dialog for player.
But you need tho change the title first. Fore some reason is the title not saved between different view times for a dialog.
 
lol thanks guys.. but it all seem's kinda weeeird.. :P Dan or darg.. wanna put some of that in simple terms? (Some of you are from out-of-the-U.S) .. it kinda shows :P

Since I'm running 56k I cant upload the pics of my rpg .. and still need photoshop!! (PLEASEEEEEE!!!!!!!)

~RoB
 
Bah, I really don't feel like lookin' through that right now, but I will in a bit. I just wanted to say welcome back man, you left right as I came, and I'm glad your back. :)

Anyways, alot has gone on since you left, such as "Special members", Mind's departure(s), and some other stuff. And, Ryoko's gotten a bit...crazier than he used to be. ;)
 
Dark's been killed by his parents rofl, he'll come on once in a blue moon and say he's here to stay, then 6 months later he doesn't show up.
 
:D Thx for the update guys .. heres one for you! (Do me a favor if you can darg .. take the Diablo II hero arena I put up, OUT!!! It sucks, lol!) One of my maps is about to be released!!

Four-Corners :) Remember that old game? lol!! I made a map about it in 15 minutes :D Everything has been finalized.. The only thing I'm probably going to change )MAYBE( in the future, is add some music.. other than that, its done.. Currently, I'm working on monopoly (omfg right?) Yeah, sounds hard.. not really :P Darg, if at ALL possible, if you have photoshop, or something else that can make tga's / blp's .. could you send me? I have email. . :P

Anyway, monopoly definitely has some complicated triggers.. lol. With the roll and everything, I need some dice models.. I have a hand icon, so you can cast the "Roll Dice" ability.. :P Now I just need some dice.. ;) Other than that.. No new updates really. Keep ya guys informed!! Map about to be hosted :D Gotta protect soon.. (I WILL release unprotected versions to people.. via email only, and only for learning. If I see any copies/modifications done to my map , and are hosted on bnet, I will immidiately revoke the privilege of ever having any of my maps unprotected for anyone. So if one of you screw it up, you screw it up for everyone. I will, however, send unprotected maps to TRUSTED people that I know. EX - Darg, dan, :D) Okies.. brb protecting map + hosting ;)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    LOL! A tweak job!
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top