Also ich hab eine Hazardrüstung gemacht die denn träger unsichtbar macht. Nun ist das problem das ich nicht weiß wie man andere unsichtbare Clonks damit sehen kann.
hier der derzeitige Script fals der euch derzeit hilft:
#strict
#include GEAR
local pSieht; // saves the nightvision-light
/* Status */
public func GetGearType() { return(GEAR_Armor); }
protected func Hit() { Sound("ClonkHit*"); }
public func IsEquipment() { return(true); }
/* Callbacks */
public func GearEffect(object pClonk)
{
SetVisibility(VIS_None|VIS_Owner,pClonk);
SetClrModulation(RGBa(0,150,200,150),pClonk);
Sound("Connect");
}
public func GearEffectReset(object pClonk)
{
SetVisibility(VIS_All,pClonk);
SetClrModulation(0,pClonk);
Sound("Connect");
}
EDIT: hab ne lösung gefunden mit nem Timer aber das laggt zu sehr gibs ne andere möglichkeit?