Scriptbug JFW_Disable_Transitions_Zone [message #459496] |
Tue, 15 November 2011 12:05 |
|
rrutk
Messages: 617 Registered: June 2007
Karma:
|
Colonel |
|
|
Is there a reason, why a JFW_Disable_Transitions_Zone doesn't work on a RA_Underwater_Zone Zone?
-----------
Source:
void JFW_Disable_Transitions_Zone::Entered(GameObject *obj,GameObject *enterer)
{
if (Is_Vehicle(enterer))
{
Commands->Enable_Vehicle_Transitions(enterer,false);
}
}
void JFW_Disable_Transitions_Zone::Exited(GameObject *obj,GameObject *exiter)
{
if (Is_Vehicle(exiter))
{
Commands->Enable_Vehicle_Transitions(exiter,true);
}
}
[Updated on: Tue, 15 November 2011 12:17] Report message to a moderator
|
|
|