%obj.sourceObject.getImage().getUser().getClient()
I think so (I can't remember tbh).
Using %obj.sourceClient doesn't result in a syntax error but does not allow me to send a messageClient. Is it a game connection or just client number or something?
messageClient(%obj.sourceClient, '', "text");
I thought it was %obj.sourceobject.client ...
ProjectileData::damage(%this,%obj,%col,%fade,%pos,%normal){messageClient(%obj.sourceClient,' ',"Bla Bla Bla Test");Parent::damage(%this,%obj,%col,%fade,%pos,%normal);}
Here's all it is right now.Code: [Select]ProjectileData::damage(%this,%obj,%col,%fade,%pos,%normal){messageClient(%obj.sourceClient,' ',"Bla Bla Bla Test");Parent::damage(%this,%obj,%col,%fade,%pos,%normal);}This is contained in a package I activate.