Home   Help Search Login Register  

Author Topic: A few questions  (Read 1305 times)

0 Members and 1 Guest are viewing this topic.

Lazy Lays

  • Guest
A few questions
« on: 23 Jul 2005, 17:26:42 »
1. If I disable AI "Move" can i Enable it again and how ?
2. How do I make an objective to just place a charge ?
3. How do I make an objective to set off charge ?

Please Help

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:A few questions
« Reply #1 on: 23 Jul 2005, 17:37:13 »
1.you can't

2.you could try a fired eh and check that it is the charge, then check if its close enough to where you want it

3. either check that what you're supposed to blow up is dead, or check that the satchel is dead (by naming it in a fired eh)

Lazy Lays

  • Guest
Re:A few questions
« Reply #2 on: 23 Jul 2005, 17:55:34 »
Okay Thanks...

Then I need another solution for question 1.
I want a Team to follow some waypoints that I have place in the Mission Editor then Stop to radio the HQ and then proceed by following the waypoints

qqqqqq

  • Guest
Re:A few questions
« Reply #3 on: 23 Jul 2005, 18:05:29 »
Where does the player fit into all this?   Is he member of the team?     Or team leader?   Or is it an AI team?    

Placing a charge probably should not be an objective.   The objective is [presumably] to destroy the target.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:A few questions
« Reply #4 on: 23 Jul 2005, 18:06:00 »
you could....

a) add a delay between the 2 waypoints
b) use a hold waypoint and a switch trigger
c) have a script that locks the wp till the radio is done
          eg:
..blah blah....
@time_to_radio
groupname lockwp true
@no_more_radio
groupname lockwp false
...blah blah blah.....

Lazy Lays

  • Guest
Re:A few questions
« Reply #5 on: 23 Jul 2005, 19:38:54 »
The Lockwp didnt work
If I make the leader stop using "dostop leader" is there a way to make him proceed by following the waypoints createt in the mission Editor  
The Player is a member of the team

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:A few questions
« Reply #6 on: 24 Jul 2005, 01:27:44 »
from the comref:
lockwp
Description:
    Disable switching to next waypoint (current waypoint will never complete while lockwp is used). Sometimes used during cut-scenes.

so it should work, try putting another waypoint close to where they'll be and that way they'll get stuck in one of them

qqqqqq

  • Guest
Re:A few questions
« Reply #7 on: 24 Jul 2005, 07:20:04 »
Quote
If I make the leader stop using "dostop leader" is there a way to make him proceed by following the waypoints createt in the mission Editor

Try dofollow himself.

Lazy Lays

  • Guest
Re:A few questions
« Reply #8 on: 24 Jul 2005, 13:50:39 »
the dofollow worked  thanks for the help guys
Another question...
The team is now moving to a meeting point where they have to talk and get information from the resistance.. so I want the team to hold and then the leader to put his weapon on his back and go talk with the resistance leader
this is what I didt so far:

~4
doStop Alpha1
doStop Alpha2
~4
Alphaleader action ["WEAPONONBACK"]
Bravoleader action ["WEAPONONBACK"]

I dont know the command for moving to the resistance leader
I want my team leader to stand in front of the resistance Leader

Hope you know what I mean ?


Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:A few questions
« Reply #9 on: 24 Jul 2005, 15:54:15 »
how about:
alphaleader join grpnull
alphaleader domove [(getpos bravoleader select 0) + (1 * sin (getdir bravoleader)),(getpos bravoleader select 1) + (1 * cos (getdir bravoleader)),0]

the join is simply to keep the other units from following him

Lazy Lays

  • Guest
Re:A few questions
« Reply #10 on: 24 Jul 2005, 17:30:03 »
Okay Thanks
One problem though
Alphaleader just walk right into the Resistanceleader and moves him !
How do I stop Alphaleader when he is lets say 1.5 meters from the ResistanceLeader ?

Alphaleader distance resistanceleader <= 1.5 doStop AlphaLeader  <--- Like this ?

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:A few questions
« Reply #11 on: 24 Jul 2005, 18:35:10 »
Code: [Select]
alphaleader domove [(getpos bravoleader select 0) + (1 * sin (getdir bravoleader)),(getpos bravoleader select 1) + (1 * cos (getdir bravoleader)),0]
try changing the 1 in front of the sin/cos
thats the distance in front of the other guy

Lazy Lays

  • Guest
Re:A few questions
« Reply #12 on: 25 Jul 2005, 10:59:57 »
Thanks

This will be my 2 last questions
How to show Leader
And how to show player on map ?

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:A few questions
« Reply #13 on: 25 Jul 2005, 20:20:46 »
all i can think of is using markers and setmarkerpos

Lazy Lays

  • Guest
Re:A few questions
« Reply #14 on: 25 Jul 2005, 21:10:36 »
Thanks to all you guys all my questions are now answered so there is only one thing left to do  --------->


                                                  CLOSED