You are not logged in.    Login    New User    Forum Home    Search

Location:
JBPLAY  \  Meteor 2  \  Help and Guidance  \  OnObjectDie_-StaticFlagsValue-;

Back to Threads

Viewing Thread: OnObjectDie_-StaticFlagsValue-;

 

Dthdealer

Joined: 10 March 2007
Posts: 476
03 July 2008 08:46 (UK time)

How can I place a StaticFlags value into the event trigger for object death?
I've tried OnObjectDie_StaticFlags[2] and OnObjectDie_(StaticFlags[2]) to no avail.
Does anyone know?
I'm doing this as I want to know when the object created on this line...

StaticFlags[2]=SC_AddObject("turret_laser.ob", 264,470,0,AI_GUARDING,1,"Laser Tower 01", 1, 0,1);

...dies as the SC_AddObject command returns the ID of the new object which the static-flag is then set at.

EDIT:
Does anyone know how to spawn power-ups? I've set the player-model to a turret for my map, and the turrets have limited ammo. If I place a pile of power-ups beneath them they dissapear quickly.

EDIT2: Worked the last edit out-I create an object that drops the power-ups at death and then kill it :p

EDIT3: SC_GiveItem! I'm a total idiot
Also known as Veyrdite
My website: http://halestrom.net/darksleep@Occasionally you may meet me when you sleep. In the darkest corners of your dreams, where your phone stops working and you don't know what to do. I'll be there; telling you that I don't support your device.

"Can't you just fix-"
NO! I told you when you bought this, when it goes wrong I can't fix it. It's filled with glue. The Greek goddess of glue Araldities herself would be impressed with this.

Please stop asking me for technical support during your dreams. Can't we just tour some surreal landscapes instead?

"How do I do that?"

Count your fingers. Keep trying. Make sure there's ten.

Then summon me. I am large and covered in wires. Clouds of baking soda pour into your world and a slightly weak yellowy glow appears from the LED strips behind me.

If you can see this message then you're already part of the way there. Keep all your styles disabled and you might see the dream within.

"But there's so much javascript everywhere! I can't see you. Help! I've forgotten to count my fingers! Where do I find them?"

The LED strip behind me pops and goes out. Dark spots appear in the centre of each light. I lift my finger to my lips. The smell of tantalum capacitors fills the air.

Ssh. Don't worry about that. Behind those frameworks there's another person sleeping.

Some day the javascript will sleep too.


Edited: 03 July 2008 12:36


You need to login to create posts in this thread.

Dthdealer

Joined: 10 March 2007
Posts: 476
03 July 2008 13:14 (UK time)

For those wondering why, I'm making a 'Defend the castle(meteor)' style map. Attached is an alpha of 2 days work.
It's standard objects only, so just pop the map and script file into your base\maps directory using the self-extractor.
Also known as Veyrdite
My website: http://halestrom.net/darksleep@Occasionally you may meet me when you sleep. In the darkest corners of your dreams, where your phone stops working and you don't know what to do. I'll be there; telling you that I don't support your device.

"Can't you just fix-"
NO! I told you when you bought this, when it goes wrong I can't fix it. It's filled with glue. The Greek goddess of glue Araldities herself would be impressed with this.

Please stop asking me for technical support during your dreams. Can't we just tour some surreal landscapes instead?

"How do I do that?"

Count your fingers. Keep trying. Make sure there's ten.

Then summon me. I am large and covered in wires. Clouds of baking soda pour into your world and a slightly weak yellowy glow appears from the LED strips behind me.

If you can see this message then you're already part of the way there. Keep all your styles disabled and you might see the dream within.

"But there's so much javascript everywhere! I can't see you. Help! I've forgotten to count my fingers! Where do I find them?"

The LED strip behind me pops and goes out. Dark spots appear in the centre of each light. I lift my finger to my lips. The smell of tantalum capacitors fills the air.

Ssh. Don't worry about that. Behind those frameworks there's another person sleeping.

Some day the javascript will sleep too.


Edited: 03 July 2008 13:15


You need to login to create posts in this thread.

Dthdealer

Joined: 10 March 2007
Posts: 476
05 July 2008 11:14 (UK time)

Alpha 2. The to-do list is in the briefing.
I'd appreciate any comments, suggestions or workarounds, especially for the topic's question.
Also known as Veyrdite
My website: http://halestrom.net/darksleep@Occasionally you may meet me when you sleep. In the darkest corners of your dreams, where your phone stops working and you don't know what to do. I'll be there; telling you that I don't support your device.

"Can't you just fix-"
NO! I told you when you bought this, when it goes wrong I can't fix it. It's filled with glue. The Greek goddess of glue Araldities herself would be impressed with this.

Please stop asking me for technical support during your dreams. Can't we just tour some surreal landscapes instead?

"How do I do that?"

Count your fingers. Keep trying. Make sure there's ten.

Then summon me. I am large and covered in wires. Clouds of baking soda pour into your world and a slightly weak yellowy glow appears from the LED strips behind me.

If you can see this message then you're already part of the way there. Keep all your styles disabled and you might see the dream within.

"But there's so much javascript everywhere! I can't see you. Help! I've forgotten to count my fingers! Where do I find them?"

The LED strip behind me pops and goes out. Dark spots appear in the centre of each light. I lift my finger to my lips. The smell of tantalum capacitors fills the air.

Ssh. Don't worry about that. Behind those frameworks there's another person sleeping.

Some day the javascript will sleep too.


You need to login to create posts in this thread.



Forums system (C) 1999-2023 by James Bunting.

Terms of Use