Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripts.dll????
Scripts.dll???? [message #109155] Sat, 21 August 2004 09:42 Go to previous message
xptek is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: My first vehicle (MRLS)
Next Topic: Commander Position, Possible?
Goto Forum:
  


Current Time: Sun Nov 17 05:22:57 MST 2024

Total time taken to generate the page: 0.00818 seconds