Tremulous Forum

Mods => Modding Center => Topic started by: rotacak on July 11, 2010, 08:29:42 am

Title: modelindex in bg_pmove.c?
Post by: rotacak on July 11, 2010, 08:29:42 am
Is possible to recieve modelindex from buildable in bg_pmove.c? Trough pm->trace() i can obtain trace.entitynum, but how to check modelindex? I need to know if i that entitynum is reactor for example.
Title: Re: modelindex in bg_pmove.c?
Post by: Crava_Loft on July 11, 2010, 10:37:18 am
[deleted]
Title: Re: modelindex in bg_pmove.c?
Post by: rotacak on July 11, 2010, 11:32:29 am
Because I want to add ladder buildable to humans and in pmove is checked if that what i touching is ladder - but it expect only brush.
Title: Re: modelindex in bg_pmove.c?
Post by: Crava_Loft on July 11, 2010, 12:21:36 pm
[deleted]