Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Cog Problem II
Cog Problem II
2001-10-31, 12:56 AM #1
When ordinarily I enter sector A, it doesn't do anything special. but when I enter sector A when I have a specific key item
(Death Star Plans), a cutscene starts? How can I do that with a cog?
Star Wars: TODOA | DXN - Deus Ex: Nihilum
2001-10-31, 4:39 AM #2
Conditional statements work wonders...

 

Entered:

If((Getsenderref() == SectorA) && (Getinv(Player, [Key's BIN number)) <= 1)) {

---RUN CUTCSENE CODE HERE---

}


 

Simple enough.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-10-31, 4:54 AM #3
Just a note: When implementing such code, you will need to define 'SectorA', 'Player', and your Key's BIN number..



------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!