Random ints and -

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Random ints and -

Post by Alcoholic »

i dont know if i typed the code correctly, if i should put a " or a () around the - operator and the subjects. or is this code fine the way it is?

Code: Select all

	println "I'm too far away. Running closer."
						local.offset = (16 + randomint(256))
						local.bazookaman runto local.bazookatarget
						local.bazookaman waittill (vector_within local.bazookaman.origin local.bazookatarget.origin local.maxrange - local.offset)
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

i don't think so :D :wink:
Live to map, not map to live.
-mohaa_rox, .map
moderator
Post Reply