HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Resolved] NPC clothing and parts  (Read 759 times)

Malumm

  • General Accounts
  • *
  • Posts: 35
    • View Profile
    • SynapticSwitch
[Resolved] NPC clothing and parts
« on: Aug 28, 12, 12:38:34 PM »

Is there a way to SetPart in script on an NPC?  SetPart(...) seems to only be available on the client and NPCs seem to only be available on the server.  I have tried calling SetPart in the client's E_nonPlayerCharacter script, but it did nothing.
« Last Edit: Sep 10, 12, 06:09:40 PM by HE-Cooper »
Logged

satamail

  • General Accounts
  • *
  • Posts: 24
    • View Profile
Re: NPC clothing and parts
« Reply #1 on: Aug 31, 12, 03:57:06 AM »

You can change his geometry_list, on server. It's a field of characterAppearance. You can search an example in E_Account in method HE_PreEnteredArea, when player entered in modern_oil_refinery_area
Logged

Malumm

  • General Accounts
  • *
  • Posts: 35
    • View Profile
    • SynapticSwitch
Re: NPC clothing and parts
« Reply #2 on: Sep 01, 12, 08:47:26 PM »

Issue solved.  Thanks!
Logged