Home   Help Search Login Register  

Author Topic: Condition of Presence  (Read 1255 times)

0 Members and 1 Guest are viewing this topic.

Mike

  • Guest
Condition of Presence
« on: 11 Oct 2002, 05:04:49 »
Hello there, I want to make stuff appear when a trigger is set off.. what can I put in the "condition of presence" field to make it appear when a trigger is set off?

Kaliyuga

  • Guest
Re:Condition of Presence
« Reply #1 on: 11 Oct 2002, 05:12:53 »
   You'll need to either use createvehicle or setpos a soldier from another part of the map when your trigger goes off... If you're not too close to your group limit  I'd suggest the latter of the two...

just name your soldiers (moron) that you want to appear and make a gamelogic (spot)  where you want them to appear  at. then put this in the activation of your trigger:

moron setpos [getpos spot select 0, getpos spot select 1,0]

and when yer trigger  goes off the moron will be moved to the spot ;D




Mike

  • Guest
Re:Condition of Presence
« Reply #2 on: 11 Oct 2002, 06:13:48 »
Sorry, I dont think you understood the question, I want to change the condition to maybe a variable.. I dont want the stuff to lag the mission.. not just vehicles.. (everything) .. and to do that I think I have to do something like this but Im not sure 100%

make myself a trigger and in the activation field type:

unitsinarea = false

..

then make a trigger thata activates when west present (my preferance) and in that activation field:

unitsinarea = true

and then in all the objects put " unitsinarea = true " into all of the condition of presence field.. would that work?
« Last Edit: 11 Oct 2002, 06:14:43 by Mike »

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Condition of Presence
« Reply #3 on: 11 Oct 2002, 08:27:26 »
And i think, Kaliyuga understood your question, but what
he's trying to tell you (between the lines) is, that the
condition of presence can't be used for that. (correct me,
if i'm interpreting you wrong Kaliyuga)  ;)

The condition of presence get's only hot, at the initialization
of the mission.

Conditions like: cadetmode, !cadetmode,
alive (name_of_groupleader) can be used in here.

To make units show up during the mission, you need:
createVehicle, createUnit (as Kaliyuga already suggested).

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Kaliyuga

  • Guest
Re:Condition of Presence
« Reply #4 on: 11 Oct 2002, 08:55:18 »
 You're right, that's what I was trying to say.. should have elaborated a little more.... ;D


  The condition of presence is executed when the mission begins .... any other units have to be created with createunit or createvehicle  command.. or brought in from somewhere else....

 Yeah another usefull command for that condition of presence line is the benchmark command... haven't seen this one mentioned in a while come to think of it....  ;D


Mike

  • Guest
Re:Condition of Presence
« Reply #5 on: 12 Oct 2002, 08:26:58 »
Well I should have "read between the lines" but I didnt get what I was looking for up until now.. Just wanted to know if it was possible..

and thanks :)
« Last Edit: 12 Oct 2002, 08:27:43 by Mike »