[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 Thread Tools
Old 02-01-2010, 05:10 PM   #16 (permalink)
Forum Moderator azlier
Made of explodium
JASS Moderator
 
Join Date: Oct 2008
Posts: 277
azlier is on a distinguished road (86)azlier is on a distinguished road (86)
Ah, good. But you should really prevent the order from being registered in the first place if it turns out to be Stop.
azlier is offline   Reply With Quote
Old 02-01-2010, 05:20 PM   #17 (permalink)
Registered User Element of Water
He has beautiful eyes...
 
Element of Water's Avatar
 
Join Date: Aug 2008
Posts: 2,311
Element of Water is just really nice (344)Element of Water is just really nice (344)Element of Water is just really nice (344)
Update:
- All instances of GetUnitId inlined/changed to use d instead
- Stop orders now cannot be prevented
- I made all functions with a ById alternative simply wrappers for the ById version.

You really are nitpicky, Azlier...
Element of Water is offline   Reply With Quote
Old 02-01-2010, 05:22 PM   #18 (permalink)
Forum Moderator azlier
Made of explodium
JASS Moderator
 
Join Date: Oct 2008
Posts: 277
azlier is on a distinguished road (86)azlier is on a distinguished road (86)
Why settle for less when you can have more?

Approved.
azlier is offline   Reply With Quote
Old 02-01-2010, 05:24 PM   #19 (permalink)
Registered User Element of Water
He has beautiful eyes...
 
Element of Water's Avatar
 
Join Date: Aug 2008
Posts: 2,311
Element of Water is just really nice (344)Element of Water is just really nice (344)Element of Water is just really nice (344)
Finally :D

Thanks for the approval... again (two scripts approved in one evening :D).
Element of Water is offline   Reply With Quote
Old 02-02-2010, 06:47 AM   #20 (permalink)
Registered User Element of Water
He has beautiful eyes...
 
Element of Water's Avatar
 
Join Date: Aug 2008
Posts: 2,311
Element of Water is just really nice (344)Element of Water is just really nice (344)Element of Water is just really nice (344)
*UPDATE*
- Fixed a bug where specific point orders were not blocked.
- Now, whenever an order is prevented, the unit will continue with its previous orders as normal.
Element of Water is offline   Reply With Quote
Old 02-02-2010, 02:27 PM   #21 (permalink)
Forum Moderator azlier
Made of explodium
JASS Moderator
 
Join Date: Oct 2008
Posts: 277
azlier is on a distinguished road (86)azlier is on a distinguished road (86)
Well that's not good. You can abuse that to find an enemy that teleported away and/or turned invisible for a while. Simply order an attack, and when they disappear issue an order that is prevented. The unit will suddenly go and home in on the attacker who escaped.
azlier is offline   Reply With Quote
Old 02-02-2010, 03:59 PM   #22 (permalink)
Registered User Element of Water
He has beautiful eyes...
 
Element of Water's Avatar
 
Join Date: Aug 2008
Posts: 2,311
Element of Water is just really nice (344)Element of Water is just really nice (344)Element of Water is just really nice (344)
When units teleport away, doesn't the attacker follow them anyway?

What can I do? The guys at wc3c said this wasn't approvable without that feature. I guess I can add a boolean to toggle it on or off with static ifs?

EDIT: I've done that for now, to make sure this resource stays as it was, but any suggestions would be welcome.
Element of Water is offline   Reply With Quote
Old 02-10-2010, 01:18 AM   #23 (permalink)
Registered User Mooglefrooglian
The Untitled... wait...
 
Mooglefrooglian's Avatar
 
Join Date: Nov 2008
Posts: 644
Mooglefrooglian has little to show at this moment (53)
I would appreciate a way to be able to prevent a stop order from being issued.

When I look at this system, I think of it as a way of controlling a players unit without putting him in cinematic mode, and still allowing him to chat, and do everything he can normally - except control his one unit.

If he then issues a stop order while you are triggering his unit to move somewhere or perform an action (say, become berserk?), it adds a world of trouble for you to trigger. You have to repeatedly issue the same order, or something else, which is inefficient and something it would be easier to not deal with.

You should find a way to be able to block stop orders that dont come from this system itself. It seems like it would be simple enough.
Mooglefrooglian is offline   Reply With Quote
Old 02-10-2010, 05:28 PM   #24 (permalink)
Registered User Element of Water
He has beautiful eyes...
 
Element of Water's Avatar
 
Join Date: Aug 2008
Posts: 2,311
Element of Water is just really nice (344)Element of Water is just really nice (344)Element of Water is just really nice (344)
Er... yeah... if you enable RETAIN_PREVIOUS_ORDERS, stop orders can indeed be prevented without any update.
Element of Water is offline   Reply With Quote
Old 02-21-2010, 05:00 PM   #25 (permalink)
Registered User Anachron
- Maybe Coming Back -
 
Anachron's Avatar
 
Join Date: Sep 2007
Posts: 5,765
Anachron is a splendid one to behold (865)Anachron is a splendid one to behold (865)Anachron is a splendid one to behold (865)Anachron is a splendid one to behold (865)Anachron is a splendid one to behold (865)
Hosted Project of the Year - 2009: Diablo III Warcraft 
Thanks a lot, use it in my CustomInventory now. :)

edit:
Removed
Jass:
if i or p or t then
in order to make it work.
__________________
- Left Mapping - How to install JNGP - My resources - System Giveaway - Continue my Diablo3 Map

Quote of the day
Quote:
Originally Posted by Rexp
a spell without GUI isn't a good spell
Anachron 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[vJASS] I can't learn vJASS Starquizer Triggers & Scripts 24 07-15-2009 10:59 AM
[vJASS] Help, my vJASS trigger doesn't work! vercas Triggers & Scripts 5 07-06-2009 09:49 PM
[vJass] vJass Math Genious Needed! Dynasti Triggers & Scripts 4 11-21-2008 07:07 AM
vJass Teacher, vJass Demo Map Maker, etc. Dynasti Requests 0 11-10-2008 04:36 PM
[JASS] vJass Alakon Triggers & Scripts 8 09-15-2008 09:23 AM

All times are GMT. The time now is 09:33 PM.





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