Author Topic: modelindex in bg_pmove.c?  (Read 3823 times)

rotacak

  • Posts: 761
  • Turrets: +39/-64
modelindex in bg_pmove.c?
« 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.

Crava_Loft

  • Guest
Re: modelindex in bg_pmove.c?
« Reply #1 on: July 11, 2010, 10:37:18 am »
[deleted]
« Last Edit: August 11, 2010, 12:23:01 pm by Crava_Loft »

rotacak

  • Posts: 761
  • Turrets: +39/-64
Re: modelindex in bg_pmove.c?
« Reply #2 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.

Crava_Loft

  • Guest
Re: modelindex in bg_pmove.c?
« Reply #3 on: July 11, 2010, 12:21:36 pm »
[deleted]
« Last Edit: August 11, 2010, 12:23:34 pm by Crava_Loft »