Change your playable character

Variant 1
In certain points of a quest, player can play as a character different than Geralt. We call those characters - replacers. The replacer will have it's own stats and items, as well as voicetag, taken directly from its entity template. Tag remains the same - "PLAYER".

Always wanted to walk around as Dandelion? Here is a little how to.
1) Change your controlled character:
• In your quest add this script with the following properties:
Image
Image

• Now you can walk around as Dandelion.

2) Spawn Geralt somewhere:
• Spawn an NPC who looks like Geralt. Any Entity called “fake_geralt” like the ones in game/2_act_2/npc will work.
• Connect it with a "Pause". The function for the Pause is "CQuestTagsPresenceCondition". The tags would be "fake_geralt".
• To “dress” him add this script after you Pause.
Image

3) Change you controlled character back:
• Add these nodes in your quest.
Image
• Change the properties of the script like this.
Image
• Change the Entitytag in the properties of the "State Change.." to PLAYER..

Remember!


1. Replacers use only heavy attack.
2. Replacers cannot use Witcher signs.
3. Replacers cannot open inventory.
4. Not every replacer works. Some of them are only floating weapons.