I'm attempting to modify force grip in such a way that the victim can be picked off the ground, and moved around by the player rotating. I was hoping this could be done via AttachThingToThingEx(), but apparently not. Any ideas?
This is the static archive of the Massassi Forums. The forums are
closed indefinitely. Thanks for all the memories!
You can also download
Super Old Archived Message Boards
from when Massassi first started.
"View" counts are as of the day the forums were archived, and will no longer increase.
if(gthing == -1) { gpos=VectorAdd(GetThingPos(victim), '0 0 0.2'); gthing=CreateThingAtPos(LoadTemplate("+gtemp"), GetThingSector(victim), gpos, '0 0 0'); ClearPhysicsFlags(victim, 0x1); TeleportThing(victim, gthing); } randpos=VectorAdd(VectorScale(RandVec(), 0.1), gpos); lvec=VectorNorm(VectorSub(randpos, GetThingPos(victim))); ApplyForce(victim, VectorScale(lvec, 50));