A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »flashlight

Author Topic: flashlight (7 messages, Page 1 of 1)
Moderators: Dennis

kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Oct 22, 2007 11:07 AM    Msg. 1 of 7       
hs_doc is your friend
(units_set_desired_flashlight_state <object_list> <boolean>)
sets the units' desired flashlight state

(unit_set_desired_flashlight_state <unit> <boolean>)
sets the unit's desired flashlight state


SGWraith
Joined: Apr 15, 2006

[SG] Clan


Posted: Oct 22, 2007 12:26 PM    Msg. 2 of 7       
You replace <boolean>, <unit>, and <object_list> when you do the commands. :/

Boolean is a fancy way of saying true or false. 1 is true, 0 is false. You can use that or the actual words as booleans.

A unit is anything that moves, from vehicles to bipeds. Players don't count directly as units but there is a command to convert them to units.

An object_list would be a catagory of things. For example, there is an object_list called players. I imagine there is another called AI, though I bet you could use the ai encounter groups as object lists too.

If you don't have experience in computer programming, you'll want to grab a tutorial on scripting.


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Oct 22, 2007 12:55 PM    Msg. 3 of 7       
Quote: --- Original message by: crop55
just tell me the what I need to type

we arnt your slaves.. search.. there is a tut wrote by me on scripts, go to hce.halomaps.org, search "kirby_422 scripting tutorial" look for the PDF wrote by me, it ends up being like the 5th resalt down or something.

"Give a man a fish, he eats for a day. Teach a man to fish, and he eats for a lifetime.. unless hes nowhere neer water, or the water poluted, or the water is fishless, or there is only goldfish in his source of water... but you get the point lol"


Sebby123
Joined: Aug 15, 2007

I Like Pie, Do You Like Pie? Xfire: sebthepleb


Posted: Oct 22, 2007 04:03 PM    Msg. 4 of 7       
Quote: --- Original message by: crop55
just tel me the what i need to type


You could just ask him to be much simpler. I think it was simple anough.

I think it would be summin like this...

(unit_set_desired_flashlight_state <what the ai team is called?> 1)
I know that realy wasn't much help. I think, if you name your AI team, then where it says "<what the ai team is called?>" change it to your AI team name *removing the <>* I think it might work.

I cant say if the team name would work because i have no clue about halo scripting...
Anyone want to spoon feed me? I know simple VB.net and Javascript

Quote: --- Original message by: kirby_422
.. unless hes nowhere near water, or the water poluted, or the water is fishless, or there is only goldfish in his source of water... but you get the point lol"

LMAO, haven't heard that little add on before. I like it!
Edited by Sebby123 on Oct 22, 2007 at 04:10 PM


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Oct 22, 2007 04:39 PM    Msg. 5 of 7       
Quote: --- Original message by: Sebby123
Quote: --- Original message by: kirby_422
.. unless hes no where near water, or the water poluted, or the water is fishless, or there is only goldfish in his source of water... but you get the point lol"

LMAO, haven't heard that little add on before. I like it!

I always add that, because it is true, you cant fish if your in the middle of city, or the only fish around you is your pet goldfish lol


SGWraith
Joined: Apr 15, 2006

[SG] Clan


Posted: Oct 23, 2007 10:43 AM    Msg. 6 of 7       
Quote: Okay so where do you put <ai encounter>? Do I need to set the name of the encounter, squad, or the biped.


Quote: --- Original message by: kirby_422
(units_set_desired_flashlight_state <object_list> <boolean>)

-------------------------------------------^^^^^^^--------


The Ai encounter is an object list, so you would use that command in your script.

Quote: --- Original message by: SGWraith
If you don't have experience in computer programming, you'll want to grab a tutorial on scripting.


Flash44x
Joined: Jan 3, 2007

What would you have your arbiter do?


Posted: Oct 23, 2007 10:47 AM    Msg. 7 of 7       
wrong post
Edited by Fbi Was For on Oct 23, 2007 at 10:48 AM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 1:47 AM 125 ms.
A Halo Maps Website