Jump to content
Sign in to follow this  
Benny212

Need alot of help

Recommended Posts

I have created a mission and need help on many things

1. how do u create an explosion at a certain area after a trigger has been set off

2.is it possible to create a boat so that when you radio alpha it takes you to one side of the river and if u radio bravo it takes you to the other side.

3.is it possible to have it so that a helicopter will land where you are and take you to a certain place when you radio for it.

thnx in advance for any help

Benny

Share this post


Link to post
Share on other sites

1. "grenade" = Camcreate "Grenade" [x,y,z]

while x yz can be rpalced with

(getpos logicA 0),(getpos logicA 1),(getpos logicA 2)

2 yes

but its hard to get them to land on a beach

3.

use this command to get the chopper to the palyers pos

chopper domove getpos player

aroudn the palyer u shoudl camcreate an invisible h via an script

now let the chopper get the pos of the h liekit did with thw player

use chopper land "GET IN" to mak ethe chopper land ant wait il someones in

let a script check if the player is inside the chopper with this command

?(player in chopper): chopper domove getpos target

i didnt took a look at the reference so some things migth not be 100% accurate

but that basically it

Share this post


Link to post
Share on other sites
Quote[/b] ]1. "grenade" = Camcreate "Grenade" [x,y,z]

Not exactly, more like

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Kaboom = "Grenade" camcreate getpos LogicExplosion

LogicExplosion being a game logic named "LogicExplosion"

smile_o.gif

Share this post


Link to post
Share on other sites

well ok thats way its simpelr but my way u can spawn grenades like from diff heights etc

while with teh logic its dircetly on ground:P

Share this post


Link to post
Share on other sites

there is also a nice helo map click script that you can call for and send back to base and recall as needed.

RED53

Share this post


Link to post
Share on other sites

Cheers i will try those out straight away

p.s. soz 4 the slow reply i have been on holiday

Share this post


Link to post
Share on other sites

is there anyway to check if the player is inside the chopper without a script.   i have changed the mission so that the helicopter will just come to one point if u radio it but it wont land in the right place!  any suggestions?

cheers for ya help

benny212

Share this post


Link to post
Share on other sites

To make the helicopter land in the right place, put an Invisible H there as well as the waypoint, the helicopter will try and land as close to that as possible.

Share this post


Link to post
Share on other sites

Cheers macguba that website came in very handy i have also found some things that i didnt think of adding in

Cheers agian

Benny212

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×