Hello all,
<BR>
<BR>my next question (have asked Bals, but he have not much time):
<BR>
<BR>I want to create a Trigger, which calls a script, when a player activate the Trigger (steps inside). As variable for the script, the name of the player should be given.
<BR>
<BR>How can I find out, which player have stepped in the Trigger, and give his name to the Script?
<BR>
<BR>It runs when I give directly the name as variable ([man1W] exec "script.sqs"), but I want, that the trigger gets the name of the player and than give that name to the script.
<BR>
<BR>Haven´t found something in all the tutorials.
<BR>
<BR>Greets
<BR>
<BR>Lobanak
Hello,
<BR>
<BR>so General has agreed that I can post here.
<BR>
<BR>I have the problem, that I cannot get the Chinook to fly, when created inside a script.
<BR>
<BR>Here´s the script:
<BR><--
<BR>; get player
<BR>_Player = _this select 0
<BR>; get coordinates of the player
<BR>_camx = getpos _Player select 0
<BR>_camy = getpos _Player select 1
<BR>_camz = getpos _Player select 2
<BR>; create a pilot near player
<BR>_pilot = "SoldierWPilot" camCreate [_camx-10,_camy,_camz]
<BR>; create heli near player
<BR>_heli = "CH47D" camCreate [_camx-10,_camy,_camz]
<BR>; get pilot in heli
<BR>_pilot MoveInDriver _heli
<BR>; start engine of the heli
<BR>_heli Action["ENGINE ON"]
<BR>; wait 10 seconds till engine is on full power
<BR>~10
<BR>; only for testing if all is working
<BR>DeleteVehicle _heli
<BR>? !(Getdammage man < 1) : CamDestroy _pilot;
<BR>Exit;
<BR>
<BR>
<BR>
<BR>So I have tested with _heli Action["hover"] and [_heli,0] SetWpPos [_camx-100,_camy] but nothing works. Also I have created the heli with _camz+1000 and _heli FlyInHight 100. But also don´t work.
<BR>
<BR>
<BR>Hope someone can help how I can get the heli to start and fly. Need this for Intro. Don´t want to use a normal unit for this, cause too much units than in map.
<BR>
<BR>Thanks and Greets
<BR>
<BR>Lobanak
<BR>
<BR>_________________
<BR>[root@rescue] # dd if=/dev/zero of=/dev/hda
<BR>25410671+0 records in
<BR>25410671+0 records out
<BR>[root@rescue] # ... f**k s**t !!! no backup made !!!<BR><BR><font size=-1>[ This Message was edited by: Lobanak on 2002-01-30 00:00 ]</font>
If anyone of you is interested in the source code for my new mission tell me. i will send uncrypted version to you or maybe Llauma can set it online. Llauma, how about implementing an open source section to your page ? <IMG SRC="/phpBB/images/smiles/icon_smile.gif">
<BR>Then check it out and try to understand it <IMG SRC="/phpBB/images/smiles/icon_smile.gif">
MP Mission:
<BR>
<BR>Team1 consists of two groups; 1 sniper+spotter team and the rest is "regular setup"
<BR>
<BR>Team2 is only "regular setup"
<BR>
<BR>The Sniper+Spotter in Team 1 shall kill a civ in a big town (ex. Lamentin)they begin close to the town. Their objective is to kill the civ and retreat to one of 3 pickup places.
<BR>
<BR>Team2 begins a bit further from the town and their objective is to keep the civ alive and second objective is to eliminate the Sniperteam before they are picked up to safety.
<BR>
<BR>The mainforce of team1 is even further away from town than Team2 and their objective is to make sure the Sniper has a safe return and pickup.
<BR>
<BR>Summary: Team1 Kill civ and make a safe retreat. Points awarded for civkill and enemykills. Bonus if civ is killed and sniper+spotter are safely picked up.
<BR>
<BR>Team2 Protect civ and eliminate sniper+spotter. Points awarded for enemykills with bonus for keeping civ alive and also kills of sniperteam.
<BR>
<BR>Well just an idea I had, feel free to continue on this. I will leave it to hand more skilled than mine.
<BR>
<BR>
I have sent some images and movies to Llauma that represent the state of work i am in with new terrain right now. They show better quality than there will be in OFP cause of performance. Maybe Llauma can set them online so all of you can view them.
<BR>
<BR>Have fun.
First a general question: Does the spawn and respawn have to be at the same place?
<BR>
<BR>I have also found a new CTF location on Kolgujev. Any mapper with some spare time contact me on icq and Ill show ya da place <IMG SRC="/phpBB/images/smiles/icon_smile.gif">
Hello all,
<BR>
<BR>wanted to change the cookie-time and have done some strange things, but all is working fine now and all is restored.
<BR>
<BR>The only thing that is missing, is the ´ in don´t and isn´t. Sorry. MySQL cannot use this while restoring alle the postings. Allways get an error.
<BR>
<BR>Think that´s not so a great problem.
<BR>
<BR>Greets
<BR>
<BR>Lobanak