I created my first cog but it doesn't work. When I activate 3do my player convert into some template but not that template I indicated(for example I write: temp(template) walkplayer, but it always converts in battery, bakta, or some kind of weapon's bolts ). Can somebody help me? Here is my cog:
[edit: Just added the code tags....
[/edit]
[This message has been edited by GBK (edited November 07, 2002).]
Code:
symbols message activate thing clothes desc=clothes thing player template temp int inuse=0 local end # ======================================================================================== code # ........................................................................................ activate: if(inuse == 1) Return; inuse = 1; player = GetSourceRef(); SetThingModel(player, temp); sleep(1); inuse = 0; return; end
[edit: Just added the code tags....
![http://forums.massassi.net/html/wink.gif [http://forums.massassi.net/html/wink.gif]](http://forums.massassi.net/html/wink.gif)
[This message has been edited by GBK (edited November 07, 2002).]