Closed blckdot closed 6 years ago
What this function should do?
Yes, now it was renamed to FCNPC_StartPlayingPlayback But it only reproduces an already prepared record, this function would write it in server
this function would write it in server
By write do you mean that the server should start gathering NPC data in a .rec file like StartRecordingPlayerData does with player data?
exactly
Have you tried using StartRecordingPlayerData on the NPC, or does that not work?
But I really don't see why you would even want that, because:
So, can you explain a bit further what your use case is exactly?
StartRecordingPlayer has the types of records, so I can only write npc onfoot or npc driver
But FCNPC can enter and exit the transport, I just want to make npc which can be onfoot and driver at the same time, without a record break , is this even possible do with FCNPC ?
Yes, it works but it's not exactly what I'm expected
- repeated actions (e.g. movement) can always be executed with the current FCNPC movement functions
Well, if for example I record a bot that just shoots, it will not be able to fire at the Z coordinate, it will not have any shoots effects. But if I just create a bot with function FCNPC_AimAtPlayer, it will shoot at the Z coordinate and the effects of shoots will be visible
For me it seems like a strange suggestion, I'm not really understand the point of this suggestion. If you want, you can try to explain this a little bit simpler.
In the early version there was such a function as native FCNPC_StartRecordingPlayback (npcid, file []); Can you add it to version 2.0 ?