Newbwc3's Help Thread

Status
Not open for further replies.

Newbwc3

Sephiroth_VII
Reaction score
157
how do u take a screenshot of the trigger editor because it wont let me take one of that, only lets me take one of the wc3 worldeditor screen

i guess i will ask again. I have a regular keyboard.
SOLVED Gotta press PrtScrn then Ctrl+V(Paste) wherever.
 

Newbwc3

Sephiroth_VII
Reaction score
157
If u can only define them at the beggining then how the heck am i supposed to do this trigger?

Go to Post#142 and click on link!
SOLVED
 

SerraAvenger

Cuz I can
Reaction score
234
Damned I told you how I didi this, and it worked!
Just set your local initialisation just behind the wait 1 seconds!
For me worked perfectly....
You just have the wrong model path!
greetings Serra

EDIT:
I did this with a Felwood tree model (without skin :( ) That was added when a unit casts a spell. I post it now, I have no time to read these senseless posts where all say the same like I do/did but make it more complicated then it already is :/

Just look at the triggers, dunno remember the name exactly, and then you now how this is done. You can test the map and order you sorceresses to cast "slow" on the enemy to see if it works.
Greetings Serra
 

Newbwc3

Sephiroth_VII
Reaction score
157
TY Serra, and sorry if im like a never ending problem that never goes away...

The reason I had the one second wait is because it takes about a second to grab the tree and have it disapear, so to make it look realistic I put a one second wait but since the local thing has to be at the very top now I cannot put a wait and it looks fake because he picks it up and the tree is in his hand and still falling at the same time, but if I had a one second wait it would look better.

Anyway to fix this?

Code:
War Club
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to War Club 
    Actions
        Custom script:   local effect treeeffect = AddSpecialEffectTargetUnitBJ( "left hand", GetSpellAbilityUnit(), "Doodads\\Felwood\\Props\\FelwoodLogStraight\\FelwoodLogStraight.mdl" )
        Wait 1.00 seconds
        Unit - Remove War Club  from (Triggering unit)
        Unit - Add Carrying Tree  to (Triggering unit)
        Wait 30.00 seconds
        Custom script:   call DestroyEffect(treeeffect)
        Custom script:   set treeeffect = null
        Unit - Remove Carrying Tree  from (Triggering unit)
        Unit - Add War Club  to (Triggering unit)
EDIT:mad:SerraAvenger sry can't give u rep, have to spread it around.
SOLVED
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
TY Serra, and sorry if im like a never ending problem that never goes away...

The reason I had the one second wait is because it takes about a second to grab the tree and have it disapear, so to make it look realistic I put a one second wait but since the local thing has to be at the very top now I cannot put a wait and it looks fake because he picks it up and the tree is in his hand and still falling at the same time, but if I had a one second wait it would look better.

Anyway to fix this?

Code:
War Club
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to War Club 
    Actions
        Custom script:   local effect treeeffect = AddSpecialEffectTargetUnitBJ( "left hand", GetSpellAbilityUnit(), "Doodads\\Felwood\\Props\\FelwoodLogStraight\\FelwoodLogStraight.mdl" )
        Wait 1.00 seconds
        Unit - Remove War Club  from (Triggering unit)
        Unit - Add Carrying Tree  to (Triggering unit)
        Wait 30.00 seconds
        Custom script:   call DestroyEffect(treeeffect)
        Custom script:   set treeeffect = null
        Unit - Remove Carrying Tree  from (Triggering unit)
        Unit - Add War Club  to (Triggering unit)
EDIT:mad:SerraAvenger sry can't give u rep, have to spread it around.

Well, to make it look better, put it after the wait:
Code:
War Club
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to War Club 
    Actions
        Custom script:   local effect treeeffect
        Wait 1.00 seconds
        Custom Script:  set treeeffect = AddSpecialEffectTargetUnitBJ( "left hand", GetSpellAbilityUnit(), "Doodads\\Felwood\\Props\\FelwoodLogStraight\\FelwoodLogStraight.mdl" )  
        Unit - Remove War Club  from (Triggering unit)
        Unit - Add Carrying Tree  to (Triggering unit)
        Wait 30.00 seconds
        Custom script:   call DestroyEffect(treeeffect)
        Custom script:   set treeeffect = null
        Unit - Remove Carrying Tree  from (Triggering unit)
        Unit - Add War Club  to (Triggering unit)

This should have the effect after the second. :D If you get any errors, post it here. ;)
 

Newbwc3

Sephiroth_VII
Reaction score
157
Of course i got a error Purge, I thought U know what your talking about when you post this stuff!

Its says "expected a code statement" and the "Local effect treeeffect=AddSpecialEffect..." is highlighted.

I made my trigger exactly like the one u posted up there^
 

SerraAvenger

Cuz I can
Reaction score
234
Hmmm this worked
HTML:
Aktionen
    Custom script:   local effect treeeffect
    Wait 1.00 seconds
    Custom script:   set treeeffect=AddSpecialEffectTarget( "Doodads\\Terrain\\AshenTree\\AshenTree0S.mdl", GetSpellAbilityUnit(), "left hand")
    Einheit - Remove (Ability being cast) from (Triggering unit)
    Einheit - Add Festhaut to (Triggering unit)
    Wait 30.00 seconds
    Custom script:   call DestroyEffect( treeeffect) 
    Custom script:   set treeeffect = null
    Einheit - Remove Festhaut from (Triggering unit)
    Einheit - Add Langsam to (Triggering unit)

With my sorceress seems to work :confused:
(explanation: einheit = unit ; Festhaut = some passive spell, Langsam = slow)

And use "AddSpecialEffectTarget" , not the "AddSpecialEffectTargetUnitBJ". That what Purge uses is only a Blizzard Jass code that runs "AddSpecialEffectTarget", so it does the same then mine does but is less efficient becouse the cpu has to execute both functions and sets a variable wich expresses last ceated Special effect, whereas if you only call the common JASS function the cpu has to do a bit less.


"Greetings Serra" ;)
 

Newbwc3

Sephiroth_VII
Reaction score
157
I did everything you said, Serra, and my trigger is just like that one^ (the post above this one) But for some reason it will not enable the trigger without having errors. I uploaded my map, besides you can make commentary on the map(changed alot) and maybe by looking at it you will find the reason it does not work.:rolleyes:

http://www.thehelper.net/forums/showthread.php?t=52833
SOLVED
 

SerraAvenger

Cuz I can
Reaction score
234
;)
For you newbwc3 :)

I changed some minor things, all are commented.

map will follow soon, I have to release 77.6 kb first...

Too bad it still needs too much space, try to send it you by a pm I will.

Works neither...

Dumb I had to delete all my attachments...
Still it is too big -.-
Dunno know why....
It says it would "Exceed your quota by 202.7 KB. "

Send me your e-mail address and I will send it to you as an attachment....
 

Newbwc3

Sephiroth_VII
Reaction score
157
In cinematics when you want a unit to do a specific animation...
Well I used the index custom function thingy to specify the animation, and it works.. its just that once the unit is done with the animation and i reset his animation he quickly and unaturally puts his arm down. It looks real fake! Any way i could fix that?

Also when your telling a unit to do a transmission how do you tell the unit to do certain specific animations WHEN hes talking and change animations WHEN hes talking.
SOLVED
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
1st Problem:

Try to see an animation that makes it look smooth as he drops it down such as a stand animation. Otherwise I think this will make it seriously smooth:
Code:
Animation - Set <Unit>'s Animation Speed to 5.00%
If 5.00% is too fast/slow, then decrease/raise the speed level.

2nd Problem:
Code:
Cinematic - Send Transmission ... Add 4.00 seconds and Don't Wait
//Animation Actions//
Wait 4.00 seconds
Cinematic - Send Transmission...

:D
 

SerraAvenger

Cuz I can
Reaction score
234
2.:
The problem with this is that you cannot skip this video
When you hit esc, you have to wait the whole time till the next part of the video comes.

If you use "and wait", you cannot quit the transmission. Would be better if you do not use some trigger to skip the whole intro...

EDIT:
sry false thread :)
Has to be your map thread of course xD
 

Newbwc3

Sephiroth_VII
Reaction score
157
How can I make a question that appears as soon as the game starts that asks "If all players choose yes then it will be skipped. Skip Intro?" and has choices of "Yes" and "No" And I want to make it like if a player does not answer the question within 10 seconds then his answer will automatically be "Yes"

How would I Trigger a good idea like this?:D
 
T

thedude

Guest
Start off with some timed text, followed by some dialog boxes. Add an integer variable and then set a timer.
 

Newbwc3

Sephiroth_VII
Reaction score
157
hehehe...

You know that action that lets you change the terrain type? Well it doesnt seem to work. You have to have the tile in your maps tileset for it to work don't you?

How do you change the terrain to a type thats not in your maps tile set? Is it possible?
Is there a way to replace a specific type of tile within a region with another type of tile?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Hmm. Old thread. And the policy is that you should start a new thread if you have new questions. Don't keep posting in the same thread. Time to close this one, I think.
 
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top