Hi ich suche verzweifelt im Internet nach einem Beispielscript, in dem ich mit C.o.f.f.e.e. ein TAG erstellen kann.
folgende Funktionen sollten helfen:
void InsertTag(BaseTag* tp, BaseTag* pred = NULL)
Inserts tag into the object's tag list. Optionally you can specify the insertion position with the pred parameter, giving the tag before (just to the left of) the wanted position. Otherwise the tag is inserted at the first position in the list.
Parameters
BaseTag* MakeTag(LONG type, BaseTag* pred = NULL)
Create and insert a tag for this object.
Kann mir bitte mal jemand erklären wie das funktionieren könnte?
EDIT:
Ok soweit so gut.
Folgender Code erstellt ein Textur-Tag auf das aktuell ausgewählte objekt:
Ich würde aber gern ein Clothilde/Kleindung-Tag erstellen
In der SDK-dokumentation finde ich keine Passende statische Variable. ( sowie "Ttexture" für "Textur-Tag")
EDIT2:
Das Problem ist, das Clothilde ein Teil des MOCCA-Plugins ist. Ob man da überhaut aus Coffee zugreifen kann weiß ich nicht...
folgende Funktionen sollten helfen:
void InsertTag(BaseTag* tp, BaseTag* pred = NULL)
Inserts tag into the object's tag list. Optionally you can specify the insertion position with the pred parameter, giving the tag before (just to the left of) the wanted position. Otherwise the tag is inserted at the first position in the list.
Parameters
BaseTag* MakeTag(LONG type, BaseTag* pred = NULL)
Create and insert a tag for this object.
Kann mir bitte mal jemand erklären wie das funktionieren könnte?
EDIT:
Ok soweit so gut.
Folgender Code erstellt ein Textur-Tag auf das aktuell ausgewählte objekt:
Code:
var TexturTag = AllocTag( Ttexture );
object()->InsertTag( TexturTag );
Ich würde aber gern ein Clothilde/Kleindung-Tag erstellen
In der SDK-dokumentation finde ich keine Passende statische Variable. ( sowie "Ttexture" für "Textur-Tag")
EDIT2:
Das Problem ist, das Clothilde ein Teil des MOCCA-Plugins ist. Ob man da überhaut aus Coffee zugreifen kann weiß ich nicht...
Zuletzt bearbeitet: