Skip to content

Commit

Permalink
Updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sethduda committed Jul 23, 2016
1 parent e72aa12 commit 048e46d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,26 @@ If you want to script AI to rappel, you can use the AUR_Rappel_Unit function. Pl
Then, via scripting (e.g. using trigger activation) call this function:

```
[UNIT] spawn AUR_Rappel_Unit;
[UNIT, ROPE_LENGTH] spawn AUR_Rappel_Unit;
```

Params: UNIT = The unit that should rappel
Params:

The unit will then rappel down the edge on a 60m rope.
UNIT = The unit that should rappel
ROPE_LENGTH = Rope length in meters (Optional, defaults to 60 if not specified)

The unit will then rappel down the edge.

If you want more control, you can use the optional parameters:

```
[UNIT, ANCHOR_POSITION, RAPPEL_DIRECTION, ROPE_LENGTH] spawn AUR_Rappel_Unit;
[UNIT, ROPE_LENGTH, ANCHOR_POSITION, RAPPEL_DIRECTION] spawn AUR_Rappel_Unit;
```

Params:

ANCHOR_POSITION = Position ASL where the rope should attach.
ANCHOR_POSITION = Position ASL where the rope should attach (Defaults to edge next to unit if not specified)
RAPPEL_DIRECTION = Unit vector direction that the unit should jump off when starting rappelling (e.g away from the building). If the unit is facing the direction they should jump off, you can get this via the command vectorDir UNIT.
ROPE_LENGTH = Rope length in meters (defaults to 60)

**Not working on your server?**

Expand Down

0 comments on commit 048e46d

Please sign in to comment.