Initial upload
Initial upload
This commit is contained in:
21
_module/nss/ffx_fc_exit.nss
Normal file
21
_module/nss/ffx_fc_exit.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
//////
|
||||
// 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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user