|
Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
Make vehicle follow player?
hey all.
I know it is possible to make AI track and follow the player using waypoint 127 "Goto player" , but is there any way to do the same with vehicles? for example make an enemy tank follow the player.. I tried WP 127 on vehicles but didn't work.. |
#2
|
||
|
One way I can think of is way complex and not really flexible.
example only (not a working script) if ssnseesssn(driver,player) and ssnarea(tank,area1) and ssnarea(player,area1) then ssntowp(tank,nearest WP to area1) endif |
#3
|
||
|
would be easy for a player pig-up a tanker bar (doggy bone) then tank follow were ever the player go
like in an doggy treat lol can you see the tank jumping around like a happy poppy waiting to it get treat lol only joking btw good to see you grenadier501 long time
__________________
* altnews sources [getmo & others news] not found main FNN: realrawnews.com *Discord: Unknown77#7121 Playing now days: EA Games> swtor [star wars old republic] Last edited by Hellfighter; 10-03-2013 at 12:17 AM. |
#4
|
||
|
Try This
Player: ssn 10000 Enemy Driver: ssn 1 Enemy Tank: ssn 2 Enemy detects player: 320m Redirect the Tank Unit AI to waypoint 1 - Not the driver if ssnseesssn(1,10000,320) and ssnarea(10000,1) then set(v1,1) endif if eq(v1,1) then ssntowp(2,1) endif |
#5
|
||
|
You can then build up a grid of areas with a script along the lines of the above to guide the AI Tank roughly to the area where the player is detected by the driver without the driver jumping from the tank.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|