frankie2spankie 0 Posted May 30, 2003 Ok, you know the little box in the bottom right of the screen which makes you swing your rifle on your back or get in a vehicle....? well... how do you add stuff to this? I know its possible just dont know how its done Share this post Link to post Share on other sites
Skul 0 Posted May 30, 2003 Create a script which does something, then put this in a trigger or the player's init line: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player AddAction ["Smoke a joint", "smokejoint.sqs"] This should add an action which - in this example, anyway - makes the player smoke a joint! Just type whatever the action is and the script to execute. On a related note; How do you add an action when the player is in a vehicle? I have added an action, but when I get into a vehicle, it goes away. When I exit the vehicle, the action appears again! Any ideas? [Gareth Gates must die] Share this post Link to post Share on other sites
Chris Death 0 Posted May 30, 2003 Quote[/b] ]player AddAction ["Smoke a joint", "smokejoint.sqs"] Instead of this rather use: Quote[/b] ]vehicle player AddAction ["Smoke a joint", "smokejoint.sqs"] and it will work, wether you are inside a vehicle or not ~S~ CD Share this post Link to post Share on other sites
Skul 0 Posted May 30, 2003 Thanks, DV! [Gareth Gates must die] Share this post Link to post Share on other sites