if you get yourself the editor update (
here) there's already a notebook and other bits and pieces which you can use. the principle of picking stuff up is quite simple, but needs expanding on a little to incorporate what you need - you'll require a static trigger for the object itself, and a moving trigger for the unit carrying it.
the static trigger - place the object, and put a trigger over it, quite small so that the player/unit has to get close, and give it a name in the 'name' field. set it to repeating. group the trigger with the player (or set it to whatever side you want to pick it up 'present'). in the 'on activation' field put
pick_up = player addaction ["Pick up the notebook!", "pickup_notes.sqs"]
and in the 'on deactivation' field put
player removeaction pick_up
the pick_notes script should do the following:
- setpos the notebook far away, to make it look like the unit has picked it up;
- display a hint or text of some sort saying "Well done, you've got the notebook!";
- add to the player's score;
- change the objectives accordingly;
- set a variable to show who has the notes;
- activate the named moving trigger;
- delete the named static trigger.
the moving trigger would be exactly as above, only a small looping script would be needed to keep it over the unit who has the notebook.
the final end-mission trigger would check who has the notes, and whether that unit is present.
i'll leave it up to you to figure out how all that is done