Home   Help Search Login Register  

Author Topic: Waypoints... Scripted? Hmm...  (Read 1108 times)

0 Members and 1 Guest are viewing this topic.

Knut Erik

  • Guest
Waypoints... Scripted? Hmm...
« on: 23 Apr 2003, 12:42:26 »
I just wondered what the "scripted WP's" do...
I checked some toturials, but they all said : "Advanced. Other toturials cover them"

Well I don't found them.
Anybody care to help me out?


Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Waypoints... Scripted? Hmm...
« Reply #1 on: 23 Apr 2003, 13:05:29 »
I'm not sure what that means ... can you provide some context?  

They could be talking about the set waypoint and get waypoint position commands, can't remember exactly what they are called.
Plenty of reviewed ArmA missions for you to play

Knut Erik

  • Guest
Re:Waypoints... Scripted? Hmm...
« Reply #2 on: 23 Apr 2003, 13:07:56 »
You know... In the Wp list there are several Wp's to chose between.

Move
Get In
Get Out
Seek and Destroy
Scripted <<--------- What the fuck is this Wp to?
Cycle
Hold
Guard
Etc
Etc

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Waypoints... Scripted? Hmm...
« Reply #3 on: 23 Apr 2003, 13:14:16 »
Ah, yes.   I have no idea.   All I can do is quote from the bible of misson editing, the Prima Stratgey Guide which game with Red Hammer.   (And got me started on mission editing)   I have a feeling that whoever wrote it doesn't really know either, because this doesn't make much sense, but this is what it says.

Quote
Scripted:   Another special waypoint, you must enter the script name to the Script field.   When a group reaches its previous waypoint, the script runs.   Script has three parameters - group ("owner" of waypoint), position (of the waypoint) and target.
Plenty of reviewed ArmA missions for you to play

Knut Erik

  • Guest
Re:Waypoints... Scripted? Hmm...
« Reply #4 on: 23 Apr 2003, 13:18:24 »
Hm.. Mabye a Qs for the official forum.
They must know what it is, because they created it  :D

*Erik thinks he is VERY clever!

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Waypoints... Scripted? Hmm...
« Reply #5 on: 23 Apr 2003, 13:47:25 »
Hmm.. interesting.. I've never given it any thought.

You can activate a script with simply adding the exec command to the on activation field.. So there must be some other reason for it.. ummh..

Maybe it's a way to execute a script with automaticly passing the parameters group, position and target.
So in a script you can have

group1 = _this select 0

and it will select the first parameter passed, being the group. In a way it would look something like

[groupname, getpos wp1, targetname] exec "script.sqs"

I'm only speculating.. plus it can't be very important sense none of us has ever heard of it.
Not all is lost.

Knut Erik

  • Guest
Re:Waypoints... Scripted? Hmm...
« Reply #6 on: 23 Apr 2003, 14:13:18 »
Bah! I have some trouble to register at the official forum...
But! When I gets in, I'll ask!  ;D

In the meantime... Anyone else who might have a clue of what this scripted wp type is?

Sui, LCD, snYpir - we neeed your heeelp!!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Waypoints... Scripted? Hmm...
« Reply #7 on: 23 Apr 2003, 15:19:21 »
never used em ::)

but as much as i get it its exactly wat artak said

u put scripted nd in da script field u shud put

_this exec "scriptname.sqs" (i think ::))

nd un da script it wil b

_groupname = _this select 0
_positionOfWp = _this select 1
_target = _This select 2 (dis 4 cases were u put WP on vehicles 4 example)

u can check dat :P - just try doin it in da editor

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta