Support #7872

unfamiliar use of setvariable in merged change

Added by CoolBox-SBS- over 5 years ago. Updated over 5 years ago.

Status:Closed Start date:01/08/2010
Priority:Normal Due date:
Assignee:BCA_Cat_Toaster % Done:

0%

Category:-
Target version:-

Description

This bottom line toaster merged from kju's stuff, I have no idea what it means syntactically or semantically...

1 _x addAction [ "Revive player" ,"actionMenuHandler.sqf", ["REVIVE",_reviveQID] , 1 , false,true,""]; 2 _x setVariable ["addedRevive",true,false,"","(playerCanRevive || RULES_everyoneCanRevive)"];
(from ClientMainThread.sqf line 563 roughly)

setVariable taking five arguments, and yet on the community wiki it only takes three...
http://community.bistudio.com/wiki/setVariable

What's that all about? No rush, but if you have a min kju, can u send a link to where this command is defined?

CB

History

Updated by BCA_Cat_Toaster over 5 years ago

OK, just merged in crap, that´s why the syntax is crap and why it didn´t work. It should look like here -> http://dev-heaven.net/issues/show/7837 (I put that link into the releases-notes of r332 also, in hope you´re less confused what I actually tried to do) or as it looks like in r334 now.

All my fault! Fixed AND Tested in r334

Updated by BCA_Cat_Toaster over 5 years ago

  • Status changed from New to Feedback

Updated by BCA_Cat_Toaster over 5 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from kju to BCA_Cat_Toaster

Updated by BCA_Cat_Toaster over 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF