Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Is_Beacon in SSGM Plugin (ObjectHookCall)
Is_Beacon in SSGM Plugin [message #369871] Sun, 01 February 2009 05:36 Go to previous message
raven
Messages: 595
Registered: January 2007
Location: Toronto, Ontario
Karma:
Colonel
Hey

I've been trying to attach a script to beacons inside a plugin. It simply just doesn't work..

void ObjectHookCall(void *data,GameObject *obj) {
	if (Is_Soldier(obj)) {
		Console_Input("msg LOL HI IM A SOLDIER");
	}
	else if (Is_Vehicle(obj)) {
		Console_Input("msg LOL HI IM A VEHICLE");
	}
	else if (Is_Cinematic(obj)) {
		Console_Input("msg LOL HI IM A CINEMATIC");
	}
	else if (Is_Powerup(obj)) {
		Console_Input("msg LOL HI IM A POWERUP");
	}
	else if (Is_C4(obj)) {
		Console_Input("msg LOL HI IM A C4");
	}
	else if (Is_Beacon(obj)) {
		Console_Input("msg LOL HI IM A BEACON");
	}
}


All of that works except for beacons. Anyone know why or have a workaround/solution?

Thanks.


-Jelly Administrator
-Exodus Administrator
 
Read Message
Read Message
Read Message
Previous Topic: [request] High Res Vehicle textures
Next Topic: [WIP] Texture Replacement Mod
Goto Forum:
  


Current Time: Wed Dec 04 00:21:08 MST 2024

Total time taken to generate the page: 0.00807 seconds