Method GetValue
GetValue(Location)
Gets the object from the campaign database, and spawns it at the specified location.
public T? GetValue(Location location)
Parameters
locationLocationThe location for the object to be spawned at.
Returns
- T
The created object.
GetValue(NwGameObject)
Gets the object from the campaign database, and attempts to spawn it in the inventory of the specified object.
If the owner cannot carry the object, it will be spawned at the owner's current location.
public T? GetValue(NwGameObject owner)
Parameters
ownerNwGameObjectThe owner who should receive the spawned object.
Returns
- T
The created object.