Scripts.dll???? [message #109155] |
Sat, 21 August 2004 09:42 |
|
xptek
Messages: 1410 Registered: August 2004 Location: USSA
Karma:
|
General (1 Star) |
|
|
void M00_PCT_Pokable_DAK::Damaged(GameObject *obj, GameObject *damager, float damage) {
Commands->Set_Health(obj,Commands->Get_Max_Health(obj));
Commands->Set_Shield_Strength(obj,Commands->Get_Max_Shield_Strength(obj));
}
void M00_PCT_Pokable_DAK::Killed(GameObject *obj, GameObject *shooter) {
//Just in case..
Commands->Create_Object(Commands->Get_Preset_Name(obj),Commands->Get_Position(obj));
}
void M00_PCT_Pokable_DAK::Poked(GameObject *obj, GameObject *poker) {
if (strstr(Commands->Get_Preset_Name(obj),"gdi")) Commands->Display_GDI_Player_Terminal();
else if (strstr(Commands->Get_Preset_Name(obj),"nod")) Commands->Display_NOD_Player_Terminal();
}
cause = time
|
|
|