• 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.

[JASS] Game Cache

Status
Not open for further replies.
Level 3
Joined
May 1, 2007
Messages
29
How specificly does this work. I have an idea i just want to make sure i am doing it right =).

Also when i place a function into a trigger i.e.

Code:
TriggerRegesterSomeEvent(someTrigger, function yahoo)

Can i pass variables into that function, i am assuming i can but wasn't sure, so like is this legal.

Code:
TriggerRegesterSomeEvent(someTrigger, function yahoo(somevariable))



Oh and What are the specifics on how region cells work.

Also how can i make it so the aoe damage that i spawn when this trigger is triggered doesn't harm friendlies.

Also everytime the event that triggers the trigger occures a new instance of the trigger is created correct?
And if i have one trigger create anouther trigger, which then passes in a value to the new trigger, will that value then be specific to the newly created trigger and seperate from other insatnces.

Like i might be able too figure msot of this on my own, but i wont be confident about it, and if someone is willing to give me a quick answer much would be appreciated.
 
Last edited by a moderator:
Level 40
Joined
Dec 14, 2005
Messages
10,532
1)
How specificly does this work. I have an idea i just want to make sure i am doing it right =).
Please be more specific ><

Do you mean CSCache/HandleVars, or the basic gamecache? If so, for singleplayer or multiplayr?

2) And no, you can't pass parameters through stuff like that. Also, the function yahoo would be in the actions, not the events

3) Finally, region cells? A region is basically a rect group
 
Status
Not open for further replies.
Top