Just wondering if you are able to actually retrieve data from a variable (particularly units) inside Hashtable - Get Handle ID. I'm new in using hashtables ... so either i'm just blind, or still inexperienced. Any ideas?
e.g.
Set x = (Load 0 of (Key (THIS UNIT VARIABLE)) from y)
Thanks :)
I remember seeing a vJass command that automatically creates 'objects' for you when you compile. I saw it in a tutorial, but I cant seem to find it anymore. I also saw it being used in one of the spells in thehelper's spell depository (I think it was Romek :confused:). Does anyone know where I...
1.
While searching in the Function List, I found this:
native ForceUICancel takes nothing returns nothing
nothing too exciting... but what does it do?:eek:
_______________________________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
2.
Can I use...
This isn't really an important question... but
- What is the main difference between Filter() and Condition()?
- Do they do the same thing?
- Where do they usually appear in?
- How can you tell which to use at different times
Thanks:)
Yes, this topic again.
I got ORBEngine system from the SandBox v3.1 of Pyramidal Defence(also by Cohadar) if people wanted to know.
My problem:
I don't the get the system at all, I need explanation. :eek:
//==============================================================================
library...
EDIT2: Found Crash (Solved!)
- Operator Problem
- Clearing Struct Attachment when finished?
- .execute() a callback?
Updated working code.
Old Code
NEW CODE (Added private prefix to struct and removed VitalityBind_) Crashes
Thanks Sooda for fixing Syntax Error
Any optimization hints?
I'm looking for an ability to base off...
I need the ability to be a single - target and gives the target and the caster a buff. It's ok with triggers, though I can't find 'Add Buff Option'. There are other solutions to this, this thread is open to your ideas.
Thanks ;)
Solved
Ok, I read Cohadar's PUI tutorial and the spells that uses it, and decided to make a spell in a similiar way to Cohadar's spells.
scope FleshHeap initializer InitTrig
globals
private constant integer AbilityID = 'A000'
private constant integer Hero = 30
private constant...
private struct Data
unit caster
group dummy
real speed
static method create takes nothing returns Data
local Data d = Data.allocate()
set d.caster = GetTriggerUnit()
set d.dummy = CreateGroup()
return d
endmethod...
You know when you try to
local real mana = GetUnitState(GetFilterUnit(), UNIT_STATE_MANA)
call SetUnitState(GetFilterUnit(), UNIT_STATE_MANA, mana + 100 )
[the unit's health is greater than the increase value (100; call Set 225 = 200 + 100)] and it doesn't work? Anyone know a solution to this...
This is part of my whole trigger that currently doesn't work. the others aren't not called, so it won't matter.
Problem: Dummy gets removed in bolded line, which stops the whole timer...
Ar is struct array, Temp_Unit and FoG are globals
function handlerFunc takes nothing returns nothing...
1. Is it possible to have Actions in conditions and no action at all?
2. Is it possible to have Conditions in actions and no condition at all?
3. Is it generally faster than when separated?
function Actions takes nothing returns nothing
if some condition then
// some...
Anyone know any good wall tutorials/ examples? You know? the ones that create a line (with like 2+ different segments) perpendicular to the facing of the caster? I would prefer it to be in vJASS, tho GUI/JASS is still good...
Thanks
What is the variable type name in Jass for Floating Text?
Is it TextTag?
And also, is this right? (Never seen Floating Text in Jass ^_^)
local TextTag FloatingText = CreateTextTag()
call SetTextTagText( FloatingText, "msg", 0.00)
call SetTextTagTextPosUnit( FloatingText, GetTriggerUnit()...
That's just weird...
Yesterday I pasted Jasshelper.exe 0.9.D.3 replacing my older version of Jasshelper (0.9.9.8). It worked, and I checked the About and it clearly said 0.9.D.3.
Now today, when I opened it, it went back to 0.9.9.8.
I tried replacing the Jasshelper again, but it still is...