GiveFetchItemToPC

From NWN Lexicon



Contents

[edit] GiveFetchItemToPC(object)

Gives the fetch item to the PC.

void GiveFetchItemToPC(
    object oPC
);

[edit] Parameters

oPC

The PC to get the item.


[edit] Description

If oPC doesn’t have the current fetch item, it is created on him / her.



[edit] Remarks

Found in nw_j_fetch.nss on line 220

The current fetch item is stored in a local variable, and then checked for by this function.

The item is given to oPC using ActionGiveItem, so this function should probably only be called by someone who possesses that item, and is capable of having an action queue.


[edit] Requirements

#include " nw_j_fetch "

[edit] Version

1.28

[edit] See Also

functions: 

GetFetchee



 author: Lilac Soul, additional contributor(s): Lilac Soul
 

Personal tools
Categories