Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Placing a certain object  (Read 1778 times)

0 Members and 1 Guest are viewing this topic.

SilentHunter_764

  • Guest
Placing a certain object
« on: 29 Mar 2005, 09:45:01 »
Hullo all! Been a while since i've been on OFPEC.

Heres my inquiery - I know that it is possible, but I was wondering if anyone knows where i could find/make a script that would allow a certain player (officer1) to be able to place 1 Medical tent, and then take it down. When it has been built however, you cant have 2 at the same time ie Making a tent then taking it down and moving on and putting it somewhere else?

Cheers, Thanks in advance
LooseKannon
« Last Edit: 29 Mar 2005, 11:15:51 by LooseKannon »

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:Placing a certain object
« Reply #1 on: 29 Mar 2005, 18:59:31 »
Tent = Homie_G addaction ["Pop up that tent!","Tent.sqs"]


Tent.sqs
----------------------------------
Code: [Select]
Tent_of_Doom setpos getpos Homie_G
Homie_G removeaction Tent
Removetent = Tent_of_Doom addaction ["Rip it down!","Kill.sqs"]
Kill.sqs
----------------------------------
Code: [Select]
deletevehicle Tent_of_Doom
exit

You may want to change the pos of the tent as right now it will just go right on Homie_G's head.
I like your approach, lets see your departure.
Download the New Flashlight Script!

SilentHunter_764

  • Guest
Re:Placing a certain object
« Reply #2 on: 30 Mar 2005, 10:13:48 »
lol

Thanks for the help