• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Hello Me again With Questions

Status
Not open for further replies.
Level 19
Joined
Aug 24, 2007
Messages
2,888
Here we go

1- What is the difference between natives and locals ?

2- For example I have a trigger
JASS:
local unit attacker
set attacker = GetTriggerUnit()
call TriggerSleepActions(5)
call KillUnit(attacker)
And I executed this trigger for 2 different units with 3 seconds delay
Both will die or just second one ? (BTW I will use this for moving instead of killing)
If the answer is just the second one how to make it both ?
 
Last edited:
Level 40
Joined
Dec 14, 2005
Messages
10,532
1- A native is a function, a local is a variable

2- Both will die

3- Not exactly sure of what you're asking. Is it that the bounces are fairly random?

Are you sure, if so, that the problem doesn't lie in the other trigger? (That sets the user data) (Haven't given that one a very good read, though)
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
I said its fixed already for 3 anyway thanks for others
And Its good to read your reply again
Have a nice day

BTW if you are gonna use any unit takes damage, dont use it in a stunnig spell
Stun time counts as damage so it goes into a loop

And my chain of frost spell works fine now tell me if you need one :)

What were the names of Any Unit Takes Damage and CSCache creators I want to give their name in credits
 
Status
Not open for further replies.
Top