In mots i have cog atached to template .
I dont want this item to be moved by a force but only receive info what force power have been used.
How to this?
in master.tpl:
------------------
...
# DESC:
# BBOX: 0 0 0 0 0 0
test none type=item collide=1 typeflags=0x1 model3d=test.3do size=.5 cog=forcetest.cog
in forcetest.cog
-------------------
...
skill:
if(getparam(0)==24 ) {-- something to do --} // pull
if(getparam(0)==38 ) {-- something to do -- }// push
return;
-------------------
I dont want this item to be moved by a force but only receive info what force power have been used.
How to this?
in master.tpl:
------------------
...
# DESC:
# BBOX: 0 0 0 0 0 0
test none type=item collide=1 typeflags=0x1 model3d=test.3do size=.5 cog=forcetest.cog
in forcetest.cog
-------------------
...
skill:
if(getparam(0)==24 ) {-- something to do --} // pull
if(getparam(0)==38 ) {-- something to do -- }// push
return;
-------------------
-= Jedi Knight I forever =-