Shirson
Member-
Content Count
34 -
Joined
-
Last visited
Never -
Medals
Community Reputation
0 NeutralAbout Shirson
-
Rank
Private First Class
-
Attach a flag to a vehicle?
Shirson replied to peligroso's topic in OFP : MISSION EDITING & SCRIPTING
Ok Make crew man named s1 Make vehicle named v1 Make flag pole named fl in init field write: fl setflagtexture "usa_vlajka.pac";fl setflagside east; fl setflagowner s1; s1 moveindriver v1 Enjoy. -
Trigger works, equivalent script doesn\'t. Game bug?
Shirson replied to zovirl's topic in OFP : MISSION EDITING & SCRIPTING
Ur problem in tInner array Ok, trace the script: Player in vehicle and in trigger tInner = [Vehicle] !((vehicle player) in list tInner) -> (Vehicle) in list tInner = true -> !true = false. Script wait on command @!((vehicle player) in list tInner) Player get out vehicle SURPRICE!!!! tInner still contain only [Vehicle] !((vehicle player) in list tInner) -> (player) in list tInner = false -> !false = true. Script show hint "player left circle" Trigger update tInner and now they contain [Vehicle, player] @(vehicle player) in list tInner -> (player) in list tInner = true Script show hint "player entered circle" Try this: #t1 ~.01 ? ((vehicle player) in list tInner) : goto "t1" hint "player left circle" #t2 ~.01 ? !((vehicle player) in list tInner) : goto "t2" hint "player entered circle" goto "t1" -
how to make ai fallow waypoint in a ramdom order
Shirson replied to cyborgrat's topic in OFP : MISSION EDITING & SCRIPTING
in all WP change Placement from 0 to 5000 -
Uhh uhh need help, uhh.. buh.
Shirson replied to Hidden's topic in OFP : MISSION EDITING & SCRIPTING
Wrong here: ; the camera will move relative to object2. ; 3m to the front, 1m to the left and 2m ; above the ground _cam setrelpos [-1, 3.2 ] ; <----------- Change to _cam setrelpos [-1, 3, 2] -
Name of marker must be quoted: "mark" setmarkerpos [1000,1000,0]
-
€ô~|#|~": Error Type Group, expected Bool
Shirson replied to russin's topic in OFP : MISSION EDITING & SCRIPTING
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Quote: from russin on 2:40 pm on Dec. 5, 2001 i get this error now does anybody know what it is ??€ô~|#|~": Error Type Group, expected Bool <span id='postcolor'> do u use "foreach" command? -
interesting problem - setbehaviour
Shirson replied to nalesnik's topic in OFP : MISSION EDITING & SCRIPTING
Give names for sniper (uSnip) and observer (uObs) Make GameLogic object named pPre near WP1 Make trigger I A&B=0 Once Condition: uObs distance pPre < 75 OnActivation: uObs join GrpNull; uObs setbehaviour "COMBAT"; uObs setcombatmode "RED"; uObs setspeedmode "Full"; uObs move getpos pPre Make trigger II A&B=0 Once Condition: uSnip distance pPre < 75 OnActivation: uSnip setbehaviour "STEALTH"; uSnip setspeedmode "Limited"; uSnip SetUnitPos "DOWN" Edit WP1 OnActivation: uObs join group uSnip; uSnip SetUnitPos "AUTO" (Edited by Shirson at 8:55 pm on Dec. 5, 2001) -
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Quote: from K6 on 8:51 pm on Dec. 1, 2001 Ok but I need the following combination End1 Winoutro End2 Looseoutro how can I get this? <span id='postcolor'> Trigger1 - Winoutro this and (!alive shilka1) and (!alive shilka2) and (!alive shilka3) and (!alive shilka4) and (!alive shilka5) Trigger2 - Looseoutro this and ((alive shilka1) or (alive shilka2) or (alive shilka3) or (alive shilka4) or (alive shilka5))
-
Heh I test it @ home - perfectly _cam = "camera" camcreate getpos fred _cam cameraEffect ["internal","back"] _cam camsettarget fred _cam camsetrelpos [0,5,10] _cam camcommit 0 @camcommitted _cam _cam camsetFOV 0.1 _cam camcommit 3 @camcommitted _cam ~3 _cam cameraEffect ["terminate","back"] camDestroy _cam
-
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Quote: from Rob on 8:39 pm on Nov. 15, 2001 wot do u mean setrelpos from wot.... from fred obviously... ur supossed to set target fred. the the position of the cam then how long u want it to commit........ so u telling me that all i have to add is _cam camsettarget fred _cam  camsetfov 0.2 _cam camcommit 3 @camcommitted _cam without any position?  soz if i sound a dunce but ur not very clear. <span id='postcolor'> Ok, what u need: "so if i wanted to make the cam set its target to fred and zoom in i would use.... " Full script ;-------------------------- _cam = "camera" camcreate getpos fred ; Create camera on freds position. _cam camsetrelpos [0, 5, 10] ; Move camera up and forward (or backward... dont remember, sorry ) from Fred _cam camsettarget fred ; Set target camera to Fred _cam camcommit 0 ; Set changes to _cam instantly ; We have camera looking to Fred ; Now, make camera zoom in to Fred _cam camSetFOV 0.1 ; Set zooming to _cam _cam camcommit 3 ; Set changes to _cam. Camera transition zooming to Fred from normal view to zoomed view in 3 seconds @camcommitted _cam ; wait for camera complete command ;-------------------------- (Edited by Shirson at 9:30 pm on Nov. 15, 2001)
-
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Quote: from Rob on 8:04 pm on Nov. 15, 2001 so if i wanted to make the cam set its target to fred and zoom in i would use.... _cam camsettarget fred _cam camsetrelpos [0, 5, 10] _cam camcommit 0 @camcommitted _cam ~3 _cam  camsetfov 2 ?? plz tell me a bit more.. <span id='postcolor'> _cam camsetrelpos [0, 5, 10]; relpos from what? _cam camsettarget fred _cam camsetfov 0.2; Set camera Field of view (zoom). Does not commit changes (!) _cam camcommit 3 ;3 secconds camera zoom in to Fred @camcommitted _cam
-
for zoom camera use <camname> camSetFOV <number> Default number = 0.7 (i think) for zoom in decrease number (ex. 0.05) for zoom out - increase (ex. 2)
-
Hmm...Movie We look Fred from side and above. After 4 sec fred liying and look in binocular Camera fast fliying to fred (forward and low), screen flased and we can see from moving to right(left) and moving up binocular t2 ( Tank ? ) Fades. End movie. What's wrong here?
-
Make empty M2 and make east soldier named uGun in INIT field of M2 write uGun moveInGunner this if it not worked try uGun moveInDriver this
-
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Quote: from SilentEcho on 11:42 am on Nov. 13, 2001 how do i start a fire on fire<span id='postcolor'> in INIT field of ur fire write: this inflame true