Location: JBPLAY \ Meteor 2 \ General \ T3H SCR1PT1NG B4TTL3 =3 Back to Threads |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
24 August 2008 19:42 (UK time)
We just started a scripting battle in that "Oof! I finally did it!" thread. I suggest continuing it here! =D I'll start off with: SC_SetObjectIndestructible(IdMrazerty,1); SC_GiveItem("Fusion Cannon",1); SC_GiveItem("Plutonium Charge",1000); XD
Edited: 24 August 2008 19:44 You need to login to create posts in this thread. |
40oz![]()
![]() Joined: 03 January 2004 Posts: 1799 |
25 August 2008 03:03 (UK time)
http://www.jbgames.com/games/meteor2/docs/ScriptCommandsList.htm This page should come in handy. SC_GiveItem("Fusion Cannon",-1); SC_BindObjectToWaypoint(Mrazerty,1); void OnWaypointReached_1 ( SC_SetObjectHits( Mrazerty, 0); SC_GameMessage("Mrazerty has tripped on a dime and died." ![]() }; idk if the above script works Haha it would be even funnier if we passed an HH map around and did no edits to it but add scripts.
Edited: 25 August 2008 03:08 You need to login to create posts in this thread. |
arezey
![]() Joined: 16 June 2005 Posts: 1599 |
25 August 2008 06:57 (UK time)
Papercut wrote: It won't, ye forgot the (int ObjectId)! ![]() It seems Mrazerty got out of prison... well.. SC_SetObjectIndestructible(idMrazerty, 0); SC_SetObjectCoords(idMrazerty, coordAcidPoolX, coordAcidPoolY); You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
25 August 2008 14:10 (UK time)
Let's do something really nasty now... StaticFlags[100] = "OWNED"; TimeLimit = -2; GameType = "GT_NONE"; Mapwidth = -1; MapHeight = -1; I owned the whole game = Everyone XD (Let's not do such things with Papercut's script map)
You need to login to create posts in this thread. |
mike323
Posts: 745 |
26 August 2008 06:19 (UK time)
Mrazerty wrote: Error 2295874673: Must be assigned to an array. Script execution halted. MRAZERTY FAILS! ![]() You need to login to create posts in this thread. |
arezey
![]() Joined: 16 June 2005 Posts: 1599 |
26 August 2008 11:11 (UK time)
Mrazerty wrote: You realize you owned yourself as well? ![]() You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
26 August 2008 15:18 (UK time)
aleksanteri wrote: Well yeah, It's the suicide bomber strategy =D OK, now let's spawn some bodyguards for me... int MyX; There. If that works correctly, I should now be surrounded by 10 Sarge Minigun Troopers =P =P P.S. I dunno if M2 has Sin() and Cos() functions though.
Edited: 26 August 2008 15:41 You need to login to create posts in this thread. |
me_mantis
![]() Joined: 26 September 2003 Posts: 1152 |
27 August 2008 22:25 (UK time)
cos and sin don't work I thinks. I'll play your game and [allcaps]NOT PRESS SPACE!! HAHA WHAT NOW NOOBS? [/allcaps] also
Edited: 27 August 2008 22:33 You need to login to create posts in this thread. |
ParaSait
![]() Joined: 26 June 2007 Posts: 1478 |
28 August 2008 11:06 (UK time)
Beware using that function, DthDealer, because when you call it I will call THIS: void SwitchTheRoles() With this function, every offensive code is turned into good code =) And good code is turned into offensive code. Muhaha. EXTRA RULE: You may only use your own functions! SwitchTheRoles() is patented!!!! =P
Edited: 28 August 2008 12:05 You need to login to create posts in this thread. |
Dthdealer
![]() Joined: 10 March 2007 Posts: 476 |
28 August 2008 11:09 (UK time)
@Mrazerty Use the (code)(/code) tags for your script to show the tabs. Your script has a similar basis of my script
You need to login to create posts in this thread. |
|
Forums system (C) 1999-2023 by James Bunting.
Terms of Use