Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripts.dll????
Scripts.dll???? [message #109092] Fri, 20 August 2004 19:42 Go to next message
thinlan is currently offline  thinlan
Messages: 25
Registered: July 2003
Karma: 0
Recruit
well, here i am again, how can i "detect" when a certain thing is blown up, such as a PT?
Scripts.dll???? [message #109104] Fri, 20 August 2004 21:35 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
PTs don't blow up.
Scripts.dll???? [message #109108] Fri, 20 August 2004 22:30 Go to previous messageGo to next message
thinlan is currently offline  thinlan
Messages: 25
Registered: July 2003
Karma: 0
Recruit
there is a cheat that makes it so it does.
Scripts.dll???? [message #109117] Sat, 21 August 2004 01:02 Go to previous messageGo to next message
WNxCABAL is currently offline  WNxCABAL
Messages: 1391
Registered: July 2004
Karma: 0
General (1 Star)
SSAOW fixes this bug.
Scripts.dll???? [message #109145] Sat, 21 August 2004 08:33 Go to previous messageGo to next message
thinlan is currently offline  thinlan
Messages: 25
Registered: July 2003
Karma: 0
Recruit
i really dont care, im asking for help, i know ssaow fixes this bug but i just want to know....
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: 0
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
Previous Topic: My first vehicle (MRLS)
Next Topic: Commander Position, Possible?
Goto Forum:
  


Current Time: Fri May 17 22:52:44 MST 2024

Total time taken to generate the page: 0.00682 seconds