€dit: I found a solution
Hi!
I've got a question about the possibilities of expiration timers. (No expirience with JASS)
I made a little test:
I created this simple actions
It got the ID "B000".
Now I converted the Trigger into text:
I just changed the code of the Generic Expiration Timer (BTLF) to "B000".
It still uses the text of the Generic Expiration Timer. Is it impossible to make your own custom expiration timer with Custom Script or did I something wrong?
Hi!
I've got a question about the possibilities of expiration timers. (No expirience with JASS)
I made a little test:
I created this simple actions
- Einheit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing 270.00 degrees
- Einheit - Add a 60.00 second Generic expiration timer to (Last created unit)
It got the ID "B000".
Now I converted the Trigger into text:
JASS:
call CreateNUnitsAtLoc( 1, 'hfoo', Player(0), GetRectCenter(GetPlayableMapRect()), 270.00 )
call UnitApplyTimedLifeBJ( 60, 'BTLF', GetLastCreatedUnit() )
I just changed the code of the Generic Expiration Timer (BTLF) to "B000".
It still uses the text of the Generic Expiration Timer. Is it impossible to make your own custom expiration timer with Custom Script or did I something wrong?
Last edited: