This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Ok thx for help
can u help me? How can i create a local trigger something like this:
class Test { private trigger t = TriggerCreate("FUNC"); void Test () { TriggerAddEventUnitStartedAttack(t, null); } void FUNC() { ACTIONS; } }
plz help m
OK THX
And i always have to write "->" to get or send data to class? - if i dont want to write enrich?
SBeier Thx. In AS3.0 easy to understand: function set/get FUNC():void/return -> setter or getter
Sorry my eng.
And one more problem whit properties of class; create class:
Test* test = new Test(5); test.Add = 1;
error: must be a struct, class or something which is enriched.
And what there is wrong?
Hey can u help me? I dont understand what here is wrong:
class Test { public int i = 0; public Test (int n) { this.i = n; } public void Add { set { this.i = this.i + value; } } public string Print { get { return IntToString(this.i); } } }
error: [7, 21]: expecting "("
Ok thx for help
can u help me? How can i create a local trigger something like this:
plz help m
OK THX
And i always have to write "->" to get or send data to class? - if i dont want to write enrich?
SBeier Thx. In AS3.0 easy to understand: function set/get FUNC():void/return -> setter or getter
Sorry my eng.
And one more problem whit properties of class; create class:
error: must be a struct, class or something which is enriched.
And what there is wrong?
Hey can u help me? I dont understand what here is wrong:
error: [7, 21]: expecting "("