Page MenuHomeFeedback Tracker

call BIS_fnc_respawnTickets doesnt work for unit
New, WishlistPublic

Description

I dont know maybe problem in poorly written manual https://community.bistudio.com/wiki/Arma_3_Respawn https://community.bistudio.com/wiki/BIS_fnc_respawnTickets

I found a lot of similiar themes with no answer how to make BIS_fnc_respawnTickets work for unit not for side.

Details

Legacy ID
1572750751
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

1 . in init.sqf or in server only script write [nameofunit,3,false] call BIS_fnc_respawnTickets; or try [nameofunit,3] call BIS_fnc_respawnTickets; or [nameofunit,(3,false)] call BIS_fnc_respawnTickets; or try[nameofunit,(3,true)] call BIS_fnc_respawnTickets. Actually i dont know how to do it right becouse there is no explanation in official manual or everywhere on internet how that fucntion works 2. Launch mission, die , respawn ,u still have 3 tickets, die 100 times u still have 3 tickets . I even tried killed eventhandler with [player,-1] call BIS_fnc_respawnTickets. Still no progress.

Event Timeline

RangerRG edited Additional Information. (Show Details)
RangerRG set Category to Scripting.
RangerRG set Reproducibility to Always.
RangerRG set Severity to None.
RangerRG set Resolution to Open.
RangerRG set Legacy ID to 1572750751.May 7 2016, 6:39 PM
RangerRG added a subscriber: RangerRG.

Oh . i suck again, forget to respawnTemplates[] = {"Tickets","Counter"}; in descriptin. KILL ME PLS

AD2001 added a subscriber: AD2001.May 7 2016, 6:39 PM

So, is this issue solved?

It wasnt a issue. it was my bad. But there is new problem. When u lost all your tickets and reconnect server u still can play. So ticket system dont have sence for separated live system (example: 3 lives perplayable unit)