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.
  • 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 The Helper:
    Happy Thursday!
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      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