Hello! I'd like to know if someone know how to make a moveable objective: you have to steal something (I know how to script this) and bring back to your base, BUT :
- ONLY the player who have stolen the object can do it
- if he dies, the object stays there near the dead body waiting to be catch by another attacking player.
If someone understands my question (excluse for the mistakes i'm not english) and knows an answer, please help me....
only one guy can complete the objective in a MP map
Moderator: Moderators
-
Cricrikris
- Private
- Posts: 3
- Joined: Sat Sep 06, 2003 10:13 am
-
SNakeFluGeL
- Sergeant
- Posts: 56
- Joined: Wed Jul 02, 2003 4:52 pm
-
Cricrikris
- Private
- Posts: 3
- Joined: Sat Sep 06, 2003 10:13 am
I have downloaded your map and I have read your script. I have questions:
- what's trigger " gotdocs2 " refer to ( //called by bsp"), what trigger and where it is ?
- what is customdocs ?
thank you
ps: if a player drops the document in the minefield, there is a problem no one can catch it and it won't respawn in one of the 3 random starting point
- what's trigger " gotdocs2 " refer to ( //called by bsp"), what trigger and where it is ?
- what is customdocs ?
thank you
ps: if a player drops the document in the minefield, there is a problem no one can catch it and it won't respawn in one of the 3 random starting point
-
nuggets
- General
- Posts: 1006
- Joined: Fri Feb 28, 2003 2:57 am
- Location: U-england-K (england in the UK) :P
- Contact:
in short
the document carrier would be the person who stole the documents... ie
level.doc_carrier = parm.other //(the person who activates the trigger)
level.docs_on_person = 1
//and then
while (!(isalive level.doc_carrier) && (level.docs_on_person == 1))
{$documents.origin = level.doc_carrier.origin
$documents_trigger.origin = level.doc_carrier.origin
level.docs_on_person = 0}
the document carrier would be the person who stole the documents... ie
level.doc_carrier = parm.other //(the person who activates the trigger)
level.docs_on_person = 1
//and then
while (!(isalive level.doc_carrier) && (level.docs_on_person == 1))
{$documents.origin = level.doc_carrier.origin
$documents_trigger.origin = level.doc_carrier.origin
level.docs_on_person = 0}
hope this helps, prob not cos it's all foreign 2 me :-/