- Joined
- Dec 6, 2008
- Messages
- 374
I am looking for simple GUI or custom script system to when hook hits a wall it will bounce depending on from which site the hook encountered.
I was using this system: But the hook doesn t bounce correctly.
I was using this system: But the hook doesn t bounce correctly.
-
Set VariableSet Point = (Position of HookMain[(Integer A)])
-
Set VariableSet Point2 = (Position of (Picked destructible))
-
Set VariableSet Real = ((Angle from Point to Point2) - 180.00)
-
Custom script: call RemoveLocation(udg_Point)
-
Custom script: call RemoveLocation(udg_Point2)
-
Unit - Make HookMain[(Integer A)] face Real