Latest topics
» Help with trigger_usescript
Thu Sep 22, 2016 8:16 am by flanagon

» New Lugormod U# (Windows + Linux)
Thu Sep 22, 2016 7:03 am by Ufo

» Single Round Team Quest
Thu Jul 23, 2015 10:39 pm by agent6141

» iobject terminal
Thu Sep 25, 2014 2:39 pm by flanagon

» Usefull Downloads
Thu Aug 07, 2014 12:35 am by Kimmeh

» Television
Thu Jan 09, 2014 2:25 am by Mr. Swister

» Lugormod U# on server
Wed Jan 08, 2014 11:08 pm by Shadow

» Teleporter with effects
Thu Jan 02, 2014 5:51 am by Pierry

» Some possibly useful addons
Thu Jan 02, 2014 5:50 am by Pierry

Keycard Quest

Go down

Keycard Quest

Post by Zkyo on Wed Mar 31, 2010 9:30 am

This is a quest where you kill an npc to get an item, which you then sell. For example, You kill a wampa, and instead of credits, you get its claws, which you sell to a merchant for credits.

The npc spawner
/place npc_spawner 30 npc_type,wampa......(what you would normally put in)......,npc_target5,wampa_kill

The keycard
/place lmd_iobject * targetname,wampa_kill,item,keycard,property,wampacr,name,Wampa Horns,maxentries,1

The message for kill
/place target_print * targetname,wampa_kill,spawnflags,4,message,^3You got the\n^7Wampa’s Horns

The place to sell them
/place lmd_propertyterminal 0 model,map_objects/factory/s_crate_01,property,wampacr,target,wampa_cr,message,Wampa Horns

The credits
/place target_credits * targetname,wampa_cr,count,100,random,50

Note: Be sure to get the lmd_iobject right, or you could end up with one that lasts forever, or it could cause the server to immediately crash.

Posts : 384
Join date : 2010-03-29
Age : 25
Location : Grand Rapids, Michigan, USA

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum