zodd 14 Posted June 11, 2012 Gday all, Just trying to polish a mission slightly... MP mission where the commander can specify the Emergency RV (ie. the respawn point) on the move. Called using this addAction ["Set Emergency RV", "mvrv.sqf", "", 0, false, false, "", "_target == _this"]; (NB: The below portion restricts the action to only the individual.) "_target == _this" This works well as only the leader can activate the action (ie. if someone walks up to him, they wont have the option) (The script actually takes the position the leader is looking at as the new respawn location) As stated in the title, I am trying to get it to work inside a vehicle so the leader can designate the new respawn point on the move rather than having to stop and get out of the vehicle to do it! I have tried making the condition this addAction ["Set Emergency RV", "mvrv.sqf", "", 0, false, false, "", "_this in (crew (vehicle _this))"]; which works when not in a vehicle but still disappears when in a vehicle... Anyone have any ideas? Share this post Link to post Share on other sites
mondkalb 1087 Posted June 11, 2012 Simple: _this in _target Will return true if the player is just the player. Other clients looking at this unit will not get the action. And it also returns true if the player is inside a vehicle. However: Action menu entries added to the player are not visible/accessible when being inside a vehicle, so you'll have to add the action to the vehicle as well. And then, it will show this action added to the vehicle only when the player is actually inside the vehicle. Share this post Link to post Share on other sites