28.06.2014, 18:25
(
Last edited by Mauzen; 28/06/2014 at 10:55 PM.
)
Quote:
Mauzen, can you add the ability to apply animations without a build? I'm using rnpc for my zombies, I almost got them perfected until I seen how dumb it looked when a zombies comes up and you lose health... Please :P
|
Edit: The next update allows editing each NPCs last created build. That way it will be possible to control certain things during the playback in realtime (e.g. the played animation, the keys etc), without the need for a new build. Right now Im thinking about a way to provide this in a good way. I dont really want to add another bunch of new natives for that, so after all people had no idea when to use which function.
What would everyone think about an "edit"-mode in addition to the build mode?
pawn Code:
RNPC_EditBuild(npcid, PLAYER_RECORDING_TYPE_ONFOOT);
RNPC_SetKeys(4, npcid, EDIT_MODE_OR); // keys |= newkeys
RNPC_FinishEdit(true); // jump to the currently played time for realtime update, save file, and play it back
// That one could be shortened with a macro again then to
RNPC_SetKeys_RT(4, npcid, EDIT_MODE_OR);