[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums | Starcraft II |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Resources > JASS Functions

JASS Functions Approved JASS functions will be located here.
Remember to submit your own resources to the submission forum.

Reply
 
LinkBack (34) Thread Tools
Old 01-09-2010, 06:36 AM   #46 (permalink)
Registered User vercas
Lt. Col. John Sheppard
 
vercas's Avatar
 
Join Date: Dec 2007
Posts: 2,220
vercas is a jewel in the rough (168)
Oh my god... This is one step from being awesome!

Does it show like
"Min - Max + Bonus"
The damage?
It's all I care about.
(I can't test it here!)
__________________
vercas is offline   Reply With Quote
Old 02-01-2010, 06:08 AM   #47 (permalink)
Forum Moderator azlier
Blasphemy!
 
Join Date: Oct 2008
Posts: 176
azlier has little to show at this moment (55)
This is excellent work. I'm going to approve this. It's deserved approval for quite a while.
azlier is offline   Reply With Quote
Old Yesterday, 01:42 AM   #48 (permalink)
Registered User enyeas
User
 
Join Date: Jan 2010
Posts: 23
enyeas has little to show at this moment (1)
What would be a list of steps to use this in a map? I have:

1. Saved the LUA file in map directory
2. Put the code in a blank text trigger
3. Uncommented object merger line
4. Saved successfully, including object merger
5. Commented out object merger line
6. Made a function to put a unit in the system:
Jass:
call CreateUnitProperties(hero)  //hero being a unit variable holding a hero
7. Tried modifying the units properties:
Jass:
call UnitModifyArmor(hero, 100)

But this does not work, perhaps I am missing something simple?
enyeas is offline   Reply With Quote
Old Yesterday, 07:18 PM   #49 (permalink)
Registered User Viikuna
User
 
Viikuna's Avatar
 
Join Date: Aug 2008
Posts: 339
Viikuna is on a distinguished road (61)Viikuna is on a distinguished road (61)
Remember to check that you have all those bonus abilities in object editor, that the lua script actually worked.

You can also add some temporary call BJDebugMsg( " word " ) -calls to the system code to find out where the code stops running, if it stops running.
__________________
No Marlo, no game.
Viikuna is offline   Reply With Quote
Old Yesterday, 08:42 PM   #50 (permalink)
Registered User enyeas
User
 
Join Date: Jan 2010
Posts: 23
enyeas has little to show at this moment (1)
Ah, I was unaware that it would actually put the abilities in the ability editor. Thought it just kinda put it in the map file. In that case, no, the LUA does not import abilities. This is also the case with the other system I tried. I am using newgen, but is there something else i need to enable for the LUA to work?

Thanks
enyeas is offline   Reply With Quote
Old Yesterday, 11:22 PM   #51 (permalink)
Registered User YourNameHere
wuts dis?
 
Join Date: Apr 2007
Posts: 595
YourNameHere has a spectacular aura about (120)YourNameHere has a spectacular aura about (120)YourNameHere has a spectacular aura about (120)YourNameHere has a spectacular aura about (120)
Uncomment the lines so you have to save, but don't save. Close the map and click yes to save, after that load it again and you should see the abilities in the OE.
__________________
--YourNameHere
YourNameHere is offline   Reply With Quote
Old Today, 12:31 AM   #52 (permalink)
Registered User enyeas
User
 
Join Date: Jan 2010
Posts: 23
enyeas has little to show at this moment (1)
thanks, that worked :)
enyeas is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

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


LinkBacks (?)
LinkBack to this Thread: http://www.hiveworkshop.com/forums/jass-functions-413/vjass-system-unit-properties-142012/
Posted By For Type Date
Question on LUA - Wc3C.net This thread Refback 01-14-2010 05:03 AM
Using Tomes of Damage to add natural damage to stuff - The Helper Forums This thread Refback 01-10-2010 12:19 PM
Max mana / hit point - The Helper Forums This thread Refback 12-10-2009 02:31 PM
A physical block (evasion) trigger? - Page 3 - The Helper Forums This thread Refback 12-08-2009 09:42 AM
Mini Problem - Ability that increase attack speed by value not % - The Helper Forums This thread Refback 11-23-2009 08:52 AM
Range Based Dynamic Evasion - The Helper Forums This thread Refback 11-19-2009 12:37 PM
Increasing Damage Passivly - The Helper Forums This thread Refback 10-27-2009 06:22 AM
How to use Grimext Object Merger - The Helper Forums This thread Refback 10-24-2009 12:51 AM
How to use Grimext Object Merger - The Helper Forums This thread Refback 10-23-2009 12:34 PM
T32, how to use the This thread Refback 10-11-2009 11:41 AM
T32, how to use the This thread Refback 10-10-2009 07:43 PM
Changing Defense on the hero - The Helper Forums This thread Refback 10-10-2009 11:45 AM
T32, how to use the This thread Refback 10-06-2009 11:31 PM
Tides of Blood: Kudzu - Wc3C.net This thread Refback 10-01-2009 05:30 PM
Patch 1.24b Discussion - Wc3C.net This thread Refback 09-28-2009 05:09 PM
Increase a units HP, Damage, Defense via trigger - Wc3C.net This thread Refback 09-27-2009 02:43 PM
Increase a units HP, Damage, Defense via trigger - Wc3C.net This thread Refback 09-27-2009 02:28 PM
Increase a units HP, Damage, Defense via trigger - Wc3C.net This thread Refback 09-27-2009 02:27 PM
setting unit hp to above normal max - The Helper Forums This thread Refback 09-26-2009 07:43 PM
setting unit hp to above normal max - The Helper Forums This thread Refback 09-26-2009 06:30 PM
setting unit hp to above normal max - The Helper Forums This thread Refback 09-26-2009 02:39 PM
Stacking buffs with Jass not possible? - The Helper Forums This thread Refback 09-22-2009 04:53 PM
Stacking buffs with Jass not possible? - The Helper Forums This thread Refback 09-22-2009 04:37 PM
Scaling Summons? - Wc3C.net This thread Refback 09-03-2009 08:18 PM
Scaling Summons? - Wc3C.net This thread Refback 09-03-2009 04:57 PM
[Snippet] Unit States - Page 2 - The Helper Forums This thread Refback 09-02-2009 04:45 PM
ADamage - a damage detection and prevention engine - Wc3C.net This thread Refback 09-02-2009 02:40 AM
[Snippet] Unit States - Page 2 - The Helper Forums This thread Refback 08-31-2009 05:32 PM
Wc3C.net - View Profile: Litany This thread Refback 08-30-2009 04:53 AM
Best way to do this? - Page 2 - Wc3C.net This thread Refback 08-29-2009 11:26 PM
Tides of Blood: Blood Meter - Wc3C.net This thread Refback 08-29-2009 06:35 PM
Best way to do this? - Page 2 - Wc3C.net This thread Refback 08-29-2009 11:49 AM
Wc3C.net - View Profile: Litany This thread Refback 08-29-2009 06:56 AM
Best way to do this? - Wc3C.net This thread Refback 08-29-2009 06:16 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit Properties Bowzerbro Requests 2 12-22-2008 12:23 AM
[vJASS] CG's Transmission System Captain Griffen JASS Functions 6 04-05-2008 05:14 PM
[Trigger] Setting Unit's Properties to a formula NoobMapmaker Triggers & Scripts 16 04-02-2008 02:28 PM
[Question] Can i get the properties of unit mazong Triggers & Scripts 3 09-24-2004 07:49 PM

All times are GMT. The time now is 05:56 AM.






Hosting by SliceHost 
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1
Copyright©Ralle