multikiller
Dec 2 2006, 16:36
Hi,
I just started scripting and stuff, but it isn't working very well.
The main problem i have is: where to enter those script commands.
The only scripted that worked for me is the MoveInDriver, i named my Humvee HMMVV and the Soldier i called Soldier1
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">soldier1 moveInDriver HMMVV [/QUOTE]
I placed this online in the waypoint by: On Act.
But that is the only working thing i found! Here an example i tried:
i tried to get a soldier to a watertower object (i called it Watertower), so i putted this line in the waypoint -> On Act: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Soldier1 moveto watertower[/QUOTE]
But when i tried it, it said:
Error Moveto: Type object, Expected Array.
Another thing i tried was a move from "Armed Assault moves description by Vänskä of LDD Kyllikki" his list:
i tried the switchmove:
* DeadState
So i placed this line in the waypoint -> On Act:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Soldier1 Switchmove Deadstate[/QUOTE]
But nothing happend http://forums.bistudio.com/oldsmileys/sad_o.gif
Can someboy give me a small tutorial where to put those commands (in waypoints or triggers) and how i get them to work? (the scripting thing in the wiki didn't really help)
Thank you!
(sorry for my poor english)
I just started scripting and stuff, but it isn't working very well.
The main problem i have is: where to enter those script commands.
The only scripted that worked for me is the MoveInDriver, i named my Humvee HMMVV and the Soldier i called Soldier1
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">soldier1 moveInDriver HMMVV [/QUOTE]
I placed this online in the waypoint by: On Act.
But that is the only working thing i found! Here an example i tried:
i tried to get a soldier to a watertower object (i called it Watertower), so i putted this line in the waypoint -> On Act: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Soldier1 moveto watertower[/QUOTE]
But when i tried it, it said:
Error Moveto: Type object, Expected Array.
Another thing i tried was a move from "Armed Assault moves description by Vänskä of LDD Kyllikki" his list:
i tried the switchmove:
* DeadState
So i placed this line in the waypoint -> On Act:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Soldier1 Switchmove Deadstate[/QUOTE]
But nothing happend http://forums.bistudio.com/oldsmileys/sad_o.gif
Can someboy give me a small tutorial where to put those commands (in waypoints or triggers) and how i get them to work? (the scripting thing in the wiki didn't really help)
Thank you!
(sorry for my poor english)