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


Rent Quest

View previous topic View next topic Go down

Rent Quest

Post by Zkyo on Wed Jul 07, 2010 2:56 pm

I'm suprised i missed this kind of quest. This is a quest that you pay for, and can enter unlimited times for 1 minute. After the one minute, you can either have a teleport out, or do nothing, as you would have to pay to re-enter. The quest will be a plain reborn quest. Pay 30 to enter, win 100.

The button used to enter
Code:
/place lmd_rentterminal 0 model,map_objects/vjun/control_station,spawnflags,4,minutes,1,count,30,target,rent_enter,maxtime,1,mintime,1
-If you want to have the player teleport out when the rent expires, add the key target2, and have it fire a teleport out of the room.

The button to start the quest. Place inside the quest room, out of the way.
Code:
/place misc_model_breakable 0 model,map_objects/factory/f_con1,spawnflags,193,targetname,rent_button,target,rent_start

The NPC
Code:
/place npc_spawner 30 npc_type,reborn,count,-1,targetname,rent_start,health,2000,showhealth,1,npc_target5,rent_kill

Target_activate and target_deactivate
Code:
/place target_deactivate * targetname,rent_start,target,rent_button
/place target_activate * targetname,rent_kill,target,rent_button

Teleport into the quest room
Code:
/place target_teleporter 30 targetname,rent_enter

Teleport out
Code:
/place target_teleporter 30 targetname,rent_kill

The credits
Code:
/place target_credits * targetname,rent_kill,count,100

Zkyo
Admin
Admin

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

View user profile http://lugorhelp.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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