Latest topics
» 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

» teleporter
Fri Dec 27, 2013 7:35 pm by Pierry

» Spammers everywhere...
Fri Dec 27, 2013 7:23 pm by Pierry

» Back in action?
Fri Dec 27, 2013 7:22 pm by Pierry


Single Player Quest

View previous topic View next topic Go down

Single Player Quest

Post by Zkyo on Mon Mar 29, 2010 9:19 pm

For this example, we will be making a quest where you pay 30CR to fight a tavion, and win 300CR.

The button to enter
Code:
/place misc_model_breakable 0 model,map_objects/factory/f_con1,spawnflags,8385,target,enter,count,30,message,Tavion

The warp in
Code:
/place target_teleporter 30 targetname,enter

The button to start the quest
Code:
/place misc_model_breakable 0 model,map_objects/factory/f_con1,spawnflags,193,target,start,targetname,button

The Spawner
Code:
/place npc_spawner 30 npc_type,tavion_new,count,-1,targetname,start,
health,2500,showhealth,1,npc_target5,exit

The Credits
Code:
/place target_credits * targetname,exit,count,300

The warp out
Code:
/place target_teleporter 30 targetname,exit

Activate/Deactivate
Code:
/place target_deactivate * targetname,start,target,button
/place target_activate * targetname,exit,target,button


Last edited by Zkyo on Sun Jul 11, 2010 7:32 pm; edited 1 time in total

Zkyo
Admin
Admin

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

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

Back to top Go down

Re: Single Player Quest

Post by Pierry on Sun Jul 11, 2010 5:06 am

Okay I found another error
The activate and deactivate must contains this:
Code:
/place target_activate * targetname,exit,target,button
/place target_deactivate * targetname,start,target,button

Pierry
Admin
Admin

Posts: 154
Join date: 2010-04-26
Age: 22
Location: Cybertron

View user profile

Back to top Go down

Re: Single Player Quest

Post by Zkyo on Sun Jul 11, 2010 7:32 pm

fuuu i swapped em XD

Zkyo
Admin
Admin

Posts: 384
Join date: 2010-03-29
Age: 21
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


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