(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Hosted Projects > Requiem of the Gods > Bug Reporting\Technical Issues

Bug Reporting\Technical Issues Found a bug? Got a problem? Report it here and get help.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 05-10-2007, 07:58 PM   #1 (permalink)
 
Steelb_l_ade's Avatar

Creator of ROTG
 
Join Date: Apr 2006
Posts: 151

Steelb_l_ade is on a distinguished road (67)Steelb_l_ade is on a distinguished road (67)

PayPal Donor: This user has donated to The Hive. 

Ending a Unit Morph?

Is there anyway to prematurly end a unit's morph that a user cant normally cancel? Such as the demon hunters metamorphesis?

With a trigger or JASS function?
__________________
ROTG-Creator.
Before you ask something, at least attempt it yourself, else you'll only have to ask everything in life.

http://www.rotg.co.uk
http://www.clan-volt.batcave.net
Steelb_l_ade is offline  
Old 05-10-2007, 08:05 PM   #2 (permalink)
 
Mechanical Man's Avatar

User
 
Join Date: Jan 2005
Posts: 2,982

Mechanical Man is just really nice (319)Mechanical Man is just really nice (319)


While the unit is morphing or to revert back to normal form?
__________________
Current project:

iTaLiaN WaRZ v1.0
Progress: ||||||||
Mechanical Man is offline  
Old 05-11-2007, 12:32 AM   #3 (permalink)
 
Steelb_l_ade's Avatar

Creator of ROTG
 
Join Date: Apr 2006
Posts: 151

Steelb_l_ade is on a distinguished road (67)Steelb_l_ade is on a distinguished road (67)

PayPal Donor: This user has donated to The Hive. 

Say, demon hunter is in demon form, has about 1 minute left until he turns back, is there a triggered command to change him back imedaitly?
__________________
ROTG-Creator.
Before you ask something, at least attempt it yourself, else you'll only have to ask everything in life.

http://www.rotg.co.uk
http://www.clan-volt.batcave.net
Steelb_l_ade is offline  
Old 05-11-2007, 04:05 AM   #4 (permalink)
 
PurgeandFire111's Avatar

User Title
 
Join Date: Nov 2006
Posts: 1,029

PurgeandFire111 is a jewel in the rough (155)


I'm not sure it is possible in GUI, but in JASS, I think you can use something like this, but I can't guarentee it will work:
Code:
    call CasterCastAbility(GetOwningPlayer(GetTriggerUnit()),<Abil Stop Code>,"cast",GetTriggerUnit(),true)
The native is:
Code:
native CasterCastAbility takes player owner, integer abilid, string order, widget target, boolean instant returns unit
I think that should work, you just need to have a "morph back" ability and have the unit cast that. If you don't want it to appear, put it in a spellbook and disable it like that.

EDIT: JASS tags were messed up, so I had to use code tags.

EDIT Again: This is part of the CS (caster system) so I don't know if there is another way to do the ability.
__________________
Vote For The Hive Workshop!
Funny but the TRUTH! :
Quote:
Originally Posted by Sopho
Unprotecting maps is not right its like crime and YOU GO MAKE YOUR OWN MAP AND BE HAPPY! Don't be gay n00b!

1. You can if it is yours but you should not if it is not. It is like stealing information and using it as if it is your own. It si gay stuff and people who unprotect maps are gay themselves.

Last edited by PurgeandFire111; 05-11-2007 at 05:32 AM..
PurgeandFire111 is offline  
Old 09-14-2007, 01:49 PM   #5 (permalink)
 
NoNZealot's Avatar

Usage of toilet paper!!!!
 
Join Date: Sep 2007
Posts: 439

NoNZealot is on a distinguished road (75)NoNZealot is on a distinguished road (75)


Ummm for a simple idea check the monolith of blizzard maps I'm sure I saw a metamorph trigger in there, just play with it a little and I believe you will solve it.
NoNZealot is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Trigger] Ending a trigger in progress when a unit dies? celadon Triggers & Scripts 8 11-26-2007 05:47 AM
Want to make a Unit/Hero with 2 morph Spells? Fulla Triggers & Scripts 4 01-02-2006 11:44 PM
Unit Morph PsychoMagnataur Map Development 1 11-09-2004 03:42 PM
help with ending of map AlphaChicken Map Development 1 07-19-2004 11:41 PM

All times are GMT. The time now is 01:19 AM.






Your link here 
Credit Cards | The eBay Song | Mortgage Calculator | Debt Help | Guitar Lesson
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle