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
888
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.

      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