Last active: Never
Not logged in [Login - Register]
Portal Portal   Search the forums Search   Frequently Asked Questions FAQ   View member list Member List   Staff Staff List   View Topic Activity Topic Activity   Forum Stats Stats   Board Rules Board Rules   Downloads Downloads
Go To Bottom

Printable Version | Subscribe | Add to Favorites  
Author: Subject: Civilians Wont enter vehicle
Tostitos
Probie
******

Avatar

Avatar


Posts: 223
Registered: 10-5-07
Location: Inside a house
Member Is Offline

Mood: i dont know.....

[*] posted on 13-6-08 at 05:51
Civilians Wont enter vehicle


I have a car that follows a waypoint and when it gets to the end of the waypoint and all the people get to the end of their waypoint, the 5 civilians are supposed to get into the car but they just stand there, dont even move.

Heres what i have in the .wac

"
if ssndead(132336) and never() then
removessn(132277)
removessn(132278)
removessn(132337)
removessn(132338)
removessn(132339)
ssntowp(66910,4)
ssnpspd(66910,20)
ssncspd(66910,20)
ssntowp(1273,7)
ssntowp(1274,7)
ssntowp(1275,7)
ssntowp(1349,8)
ssntowp(1350,8)
endif

if ssnnearssn(1349,197908,10) and ssnnearssn(1350,197908,10) and ssnnearssn(1273,197908,10) and ssnnearssn(1274,197908,10) and ssnnearssn(1275,197908,10) and ssnnearssn(66910,197846,10) and never() then
ssntowp(66838,9)
ssn2ssn(1273,66910)
ssn2ssn(1274,66910)
ssn2ssn(1275,66910)
ssn2ssn(1349,66910)
ssn2ssn(1350,66910)
endif

if chain(2) and never() then
wave("alarm2.wav")
text("Good job, now the hostages will go to the Vehicle.")
text("We are sending a chinook to pick up the Vehicle.")
text("A Helicopter should arrive quickly to pick you guys up")
ssntowp(1273,7)
ssntowp(1274,7)
ssntowp(1275,7)
ssntowp(1349,8)
ssntowp(1350,8)
endif

if chain(15) and never() then
text("The Helicopter will take you to your next objective where")
text("there are more hostages, once the area is clear a chinook")
text("will drop off more vehicles. Good Luck!")
endif
"
The two "Chain" events that come after work just fine. I also checked all of the SSN.

Any help??






http://www.dfreload.com/sig/teamreload3.gif

http://www.dfreload.com/sigs/doc_bar.gif
Lost but not forgoten........

View user's profile Visit user's homepage View All Posts By User U2U Member This user has MSN Messenger
Ozferal
WTF ADmin
*******

Avatar

Avatar


Posts: 338
Registered: 9-4-06
Location: Yorke Peninsula, Sth Aust
Member Is Offline

Mood: STILL hunting Kev!

[*] posted on 13-6-08 at 07:48


I don't know much about NILE however, to tidy up your code etc wouldn't it be better to have the civilians in a group?







http://www.dfreload.com/eagle/sigs/ozsig.gif




View user's profile Visit user's homepage View All Posts By User U2U Member This user has MSN Messenger
PREDATOR-53rd
Corporal


Avatar



Posts: 310
Registered: 5-8-06
Member Is Offline


[*] posted on 13-6-08 at 13:41


try eventing your civ's to stop using that wp when the reach the final wp and then redirect them to attach to the vehicle.

better to make the civilians a group easier to event that way :)


something like when group 12(civi's) reaches wp 1-7 /change ai state to stop using that wp, if that event has happened, then redirect group 12(civi's) to ssn 125-23(vehicle) then you can direct your vehicle to start out on an escape route.

just an idea
View user's profile View All Posts By User U2U Member
Tostitos
Probie
******

Avatar

Avatar


Posts: 223
Registered: 10-5-07
Location: Inside a house
Member Is Offline

Mood: i dont know.....

[*] posted on 13-6-08 at 23:28


in NILE you cant use groups, it wont work and in the second event it says


ssn2ssn(civi,vehicle)
ssn2ssn(civi,vehicle)
and so on

where it says ssnnearssn the first part is the civilians and the second part is the waypoint so when they all reach their waypoints they are supposed to enter the vehicle. Ill try something different later on and see if that works.

Once they all enter the vehicle a chinook comes and the car goes into the chinook then that takes off






http://www.dfreload.com/sig/teamreload3.gif

http://www.dfreload.com/sigs/doc_bar.gif
Lost but not forgoten........

View user's profile Visit user's homepage View All Posts By User U2U Member This user has MSN Messenger
PREDATOR-53rd
Corporal


Avatar



Posts: 310
Registered: 5-8-06
Member Is Offline


[*] posted on 14-6-08 at 11:21


I don't work in the nile, so I won't be much help, but it sounds like your civilians are still using the wp.
you could event each civilian to stop using that wp when they reach the final wp number and redirect each of them to load in the vehicle. then redirect the vehicle to the chinook after they are all loaded.
you might want to pop this question on the god fathers forum they work in the nile alot.

sorry not much help.

reading the wac I know I could do that in the med but nile is so wacked out lol.
View user's profile View All Posts By User U2U Member
Tostitos
Probie
******

Avatar

Avatar


Posts: 223
Registered: 10-5-07
Location: Inside a house
Member Is Offline

Mood: i dont know.....

[*] posted on 15-6-08 at 05:48


do you happen to know the command? i thought ssn2ssn would redirect them





http://www.dfreload.com/sig/teamreload3.gif

http://www.dfreload.com/sigs/doc_bar.gif
Lost but not forgoten........

View user's profile Visit user's homepage View All Posts By User U2U Member This user has MSN Messenger
PREDATOR-53rd
Corporal


Avatar



Posts: 310
Registered: 5-8-06
Member Is Offline


[*] posted on 15-6-08 at 14:48


ssn2ssn by itself will send ssn to ssn as soon as the game is started, other wise you need an event to happen if you want them to attach at a certain time.

now you have if ssnnearssn then ssn2ssn in your wac if those ssnnearssn are actually getting close enough to each other to trigger the ssn2ssn should work. (maybe they are not getting close enough to trigger it).

I'm not sure just how close they have to get thats why I use an area trigger. and event.

if I want guys to load a car to drive off and badguys are near I'll event if group all dead (badguys) and group (car guys) are within area trigger redirect group (car guys) to ssn (car) then redirect car to a wp to drive off.

you can do this without group it just takes more eventing by doing each ssn # to do what you want them to do.
View user's profile View All Posts By User U2U Member
HAWK1
Private


Avatar

Avatar


Posts: 4
Registered: 29-8-08
Location: NEW YORK
Member Is Offline

Mood: NICE

[*] posted on 29-8-08 at 11:50


You can use GLOOP in NILE. Act like group

CODE:
GLOOP Group1
if never enter
ssn2ssn(ITEM,xxxx)
SSNtoWP(xxxx,1)
endif




HAWK1
View user's profile View All Posts By User U2U Member This user has MSN Messenger

  Go To Top





Powered by XMB
Developed By The XMB Group © 2001-2008