22 lines
441 B
Plaintext
22 lines
441 B
Plaintext
//////
|
|
// Force Effects: Bounce
|
|
// Force Cage
|
|
// Created by Solias
|
|
// http://www.wnwn.net/
|
|
//
|
|
////
|
|
// ffx_fc_exit - Force Cage exit event
|
|
//
|
|
// exit event for a force cage
|
|
//
|
|
|
|
#include "ffx_inc"
|
|
|
|
void main() {
|
|
|
|
object player = GetExitingObject();
|
|
string group_tag = GetStringRight(GetTag(OBJECT_SELF), 2);
|
|
if(GetLocalInt(GetModule(), "ffx_group_active_" + group_tag) == 1) ffx_bounce_towards_point(player, "ffx_fc_center", 2.0);
|
|
|
|
}
|